1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00

fix borg recreate --progress (broken by previous commit)

fixup for cb7887836a
This commit is contained in:
Thomas Waldmann 2018-03-10 15:41:01 +01:00
parent cb7887836a
commit f979349f07

View file

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