mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 17:32:13 -04:00
fixup for pr #9666: better variable name
This commit is contained in:
parent
dd0713e013
commit
40572ffbf8
1 changed files with 2 additions and 2 deletions
|
|
@ -1230,8 +1230,8 @@ class ChunksProcessor:
|
|||
def maybe_exclude_by_attr(item):
|
||||
if xattrs := item.get("xattrs"):
|
||||
apple_excluded = xattrs.get(b"com.apple.metadata:com_apple_backup_excludeItem")
|
||||
linux_excluded = xattrs.get(b"user.xdg.robots.backup")
|
||||
if apple_excluded is not None or linux_excluded == b"false":
|
||||
linux_included = xattrs.get(b"user.xdg.robots.backup")
|
||||
if apple_excluded is not None or linux_included == b"false":
|
||||
raise BackupItemExcluded
|
||||
|
||||
if flags := item.get("bsdflags"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue