mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-22 15:57:15 +00:00
Merge pull request #571 from ThomasWaldmann/fix-570
fix crash when using borg create --dry-run --keep-tag-files, fixes #570
This commit is contained in:
commit
735fe557e2
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ def _process(self, archive, cache, excludes, exclude_caches, exclude_if_present,
|
|||
elif stat.S_ISDIR(st.st_mode):
|
||||
tag_paths = dir_is_tagged(path, exclude_caches, exclude_if_present)
|
||||
if tag_paths:
|
||||
if keep_tag_files:
|
||||
if keep_tag_files and not dry_run:
|
||||
archive.process_dir(path, st)
|
||||
for tag_path in tag_paths:
|
||||
self._process(archive, cache, excludes, exclude_caches, exclude_if_present,
|
||||
|
|
Loading…
Reference in a new issue