From: Rob Browning Date: Mon, 16 Sep 2013 21:47:53 +0000 (-0500) Subject: Treat ENOSYS like EOPNOTSUPP in _add_posix1e_acl(). X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a373ac2333c6d0f4253136598ac0b3aeb5adac4e;p=packages%2Fb%2Fbup.git Treat ENOSYS like EOPNOTSUPP in _add_posix1e_acl(). Thanks to Robert Edmonds for reporting the relevant failure on a Debian kFreeBSD buildd. Signed-off-by: Rob Browning --- diff --git a/lib/bup/metadata.py b/lib/bup/metadata.py index a82a8dd..7f51cfd 100644 --- a/lib/bup/metadata.py +++ b/lib/bup/metadata.py @@ -466,7 +466,7 @@ class Metadata: acl = posix1e.ACL(filedef=path) self.posix1e_acl.extend([acl, acl]) except EnvironmentError, e: - if e.errno != errno.EOPNOTSUPP: + if e.errno not in (errno.EOPNOTSUPP, errno.ENOSYS): raise def _same_posix1e_acl(self, other):