浏览代码

cleanup: move "processing files" message to expected place

(now possible as we do not lazy load the files cache any more)
Thomas Waldmann 7 年之前
父节点
当前提交
232f051c10
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 0 3
      src/borg/archive.py
  2. 1 0
      src/borg/archiver.py

+ 0 - 3
src/borg/archive.py

@@ -1144,9 +1144,6 @@ class FilesystemObjectProcessors:
                     # read-special mode, but we better play safe as this was wrong in the past:
                     path_hash = None
                     known, ids = False, None
-                first_run = not cache.files and 'd' not in cache.cache_mode
-                if first_run:
-                    logger.debug('Processing files ...')
                 chunks = None
                 if ids is not None:
                     # Make sure all ids are available

+ 1 - 0
src/borg/archiver.py

@@ -455,6 +455,7 @@ class Archiver:
                     skip_inodes.add((st.st_ino, st.st_dev))
                 except OSError:
                     pass
+            logger.debug('Processing files ...')
             for path in args.paths:
                 if path == '-':  # stdin
                     path = args.stdin_name