diff --git a/src/borg/platform/xattr.py b/src/borg/platform/xattr.py index ad4f2b7d62..dae0ae6d9d 100644 --- a/src/borg/platform/xattr.py +++ b/src/borg/platform/xattr.py @@ -5,10 +5,10 @@ try: - ENOATTR = errno.ENOATTR + ENOATTR = errno.ENOATTR # type: ignore[attr-defined] except AttributeError: # on some platforms, ENOATTR is missing, use ENODATA there - ENOATTR = errno.ENODATA + ENOATTR = errno.ENODATA # type: ignore[attr-defined] buffer = Buffer(bytearray, limit=2**24)