1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00

extract: fix missing call to ProgressIndicator.finish

This commit is contained in:
Marian Beermann 2017-02-28 02:04:46 +01:00
parent 8e1edaf258
commit 6ee0585b33

View file

@ -588,6 +588,9 @@ def peek_and_store_hardlink_masters(item, matched):
except BackupOSError as e: except BackupOSError as e:
self.print_warning('%s: %s', remove_surrogates(orig_path), e) self.print_warning('%s: %s', remove_surrogates(orig_path), e)
if pi:
pi.finish()
if not args.dry_run: if not args.dry_run:
pi = ProgressIndicatorPercent(total=len(dirs), msg='Setting directory permissions %3.0f%%', pi = ProgressIndicatorPercent(total=len(dirs), msg='Setting directory permissions %3.0f%%',
msgid='extract.permissions') msgid='extract.permissions')