mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-31 19:52:22 +00:00
commit
7225def75c
2 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ def process_file(self, path, st, cache, ignore_inode=False):
|
||||||
first_run = not cache.files
|
first_run = not cache.files
|
||||||
ids = cache.file_known_and_unchanged(path_hash, st, ignore_inode)
|
ids = cache.file_known_and_unchanged(path_hash, st, ignore_inode)
|
||||||
if first_run:
|
if first_run:
|
||||||
logger.info('processing files')
|
logger.debug('Processing files ...')
|
||||||
chunks = None
|
chunks = None
|
||||||
if ids is not None:
|
if ids is not None:
|
||||||
# Make sure all ids are available
|
# Make sure all ids are available
|
||||||
|
|
|
@ -167,7 +167,7 @@ def close(self):
|
||||||
def _read_files(self):
|
def _read_files(self):
|
||||||
self.files = {}
|
self.files = {}
|
||||||
self._newest_mtime = 0
|
self._newest_mtime = 0
|
||||||
logger.info('reading files cache')
|
logger.debug('Reading files cache ...')
|
||||||
with open(os.path.join(self.path, 'files'), 'rb') as fd:
|
with open(os.path.join(self.path, 'files'), 'rb') as fd:
|
||||||
u = msgpack.Unpacker(use_list=True)
|
u = msgpack.Unpacker(use_list=True)
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue