소스 검색

ArchiveRecreater.copy_items: progress from target instead of source

(it produces the same output, just less confusing)
Marian Beermann 9 년 전
부모
커밋
7d9fba5a41
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/borg/archive.py

+ 1 - 1
src/borg/archive.py

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