소스 검색

Merge pull request #3681 from ThomasWaldmann/fixup-recreate-progress-broken

fix borg recreate --progress (broken by previous commit)
TW 7 년 전
부모
커밋
646c0ea117
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/borg/archive.py

+ 1 - 1
src/borg/archive.py

@@ -1818,7 +1818,7 @@ class ArchiveRecreater:
         if 'chunks' in item:
             self.process_chunks(archive, target, item)
             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)
 
     def process_chunks(self, archive, target, item):