mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 18:28:42 +00:00
cosmetic: show 100% when done, not n-1/n%
This commit is contained in:
parent
35b219597f
commit
a7902e5657
1 changed files with 1 additions and 1 deletions
|
@ -48,9 +48,9 @@ def convert_segments(segments, dryrun):
|
|||
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 a new issue