From d3274cd2c94f8d39ea8ecaea700aa05a1a24ecb8 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 8 Mar 2018 04:21:58 +0100 Subject: [PATCH] cleanup: move "processing files" message to expected place (now possible as we do not lazy load the files cache any more) --- src/borg/archive.py | 3 --- src/borg/archiver.py | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/borg/archive.py b/src/borg/archive.py index 514de1aff..cc828b7dc 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -993,9 +993,6 @@ Utilization of max. archive size: {csize_max:.0%} # 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 diff --git a/src/borg/archiver.py b/src/borg/archiver.py index ca3c27be4..d5fc9f38f 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -482,6 +482,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 = 'stdin'