cosmetic: show 100% when done, not n-1/n%

This commit is contained in:
Antoine Beaupré 2015-10-01 14:29:09 -04:00
parent 35b219597f
commit a7902e5657
1 changed files with 1 additions and 1 deletions

View File

@ -48,9 +48,9 @@ class AtticRepositoryConverter(Repository):
print("converting %d segments..." % len(segments))
i = 0
for filename in segments:
i += 1
print("\rconverting segment %d/%d in place, %.2f%% done (%s)"
% (i, len(segments), float(i)/len(segments), filename), end='')
i += 1
if dryrun:
time.sleep(0.001)
else: