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:
parent
7b70b74ad1
commit
7d9fba5a41
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue