mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
Merge pull request #9667 from ThomasWaldmann/pr-9666-fix
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OmniOS, false, omnios, r151056) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.8) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OmniOS, false, omnios, r151056) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.8) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
fixup for pr #9666: better variable name
This commit is contained in:
commit
da9a549643
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