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
1 changed files with 1 additions and 1 deletions

View File

@ -1573,7 +1573,7 @@ class ArchiveRecreater:
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):