1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

Merge pull request #3681 from ThomasWaldmann/fixup-recreate-progress-broken

fix borg recreate --progress (broken by previous commit)
This commit is contained in:
TW 2018-03-10 15:47:17 +01:00 committed by GitHub
commit 646c0ea117
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1818,7 +1818,7 @@ def process_item(self, archive, target, item):
if 'chunks' in item:
self.process_chunks(archive, target, item)
target.stats.nfiles += 1
target.add_item(item, stats=self.stats)
target.add_item(item, stats=target.stats)
self.print_file_status(file_status(item.mode), item.path)
def process_chunks(self, archive, target, item):