mirror of https://github.com/borgbackup/borg.git
cosmetic: show 100% when done, not n-1/n%
This commit is contained in:
parent
35b219597f
commit
a7902e5657
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue