瀏覽代碼

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):