Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
making load py3 friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGreenhill committed Oct 27, 2016
1 parent ac39821 commit 07aaae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dplace_app/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def main(): # pragma: no cover
]:
with transaction.atomic():
loader, args = spec[0], spec[1:]
print loader.__name__, '...'
print("%s..." % loader.__name__)
start = time()
res = loader(*args)
print res, 'loaded in', time() - start, 'secs'
print("%s loaded in %s secs" % (res, time() - start))


if __name__ == '__main__': # pragma: no cover
Expand Down

0 comments on commit 07aaae9

Please sign in to comment.