From 40572ffbf883391b4cd124f1d981a87624d76c2f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 25 May 2026 00:58:16 +0200 Subject: [PATCH] fixup for pr #9666: better variable name --- src/borg/archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/archive.py b/src/borg/archive.py index 0e9851d25c..305b7894f4 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -1230,8 +1230,8 @@ def chunk_processor(chunk): 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"):