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

ArchiveRecreater.copy_items: progress from target instead of source

(it produces the same output, just less confusing)
This commit is contained in:
Marian Beermann 2016-08-09 21:20:13 +02:00
parent 7b70b74ad1
commit 7d9fba5a41

View file

@ -1573,7 +1573,7 @@ def copy_items(self, source_archive, target_archive):
target_archive.stats.nfiles += 1 target_archive.stats.nfiles += 1
target_archive.add_item(item) target_archive.add_item(item)
if self.progress: if self.progress:
source_archive.stats.show_progress(final=True) # XXX target_archive.stats? target_archive.stats.show_progress(final=True)
return item return item
def can_resume(self, archive, old_target, target_name): def can_resume(self, archive, old_target, target_name):