]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/metadata.py
Treat ENOSYS like EOPNOTSUPP in _add_posix1e_acl().
[bup.git] / lib / bup / metadata.py
index a82a8dd7ab0c2cadc5762043fd1da1c2c0e18157..7f51cfd53300cc069985c1db8812aab2cefab626 100644 (file)
@@ -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):