]> arthur.barton.de Git - bup.git/commitdiff
Don't try to load POSIX1e ACLs when the library isn't installed.
authorRob Browning <rlb@defaultvalue.org>
Mon, 16 Sep 2013 17:55:12 +0000 (12:55 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 16 Sep 2013 17:55:27 +0000 (12:55 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/metadata.py

index 394c8c38f25cd05c60655ad8c0291560a91f7e65..2c6eb88d0eb1920eed9546c36e2434426e17eac9 100644 (file)
@@ -489,6 +489,7 @@ class Metadata:
             return None
 
     def _load_posix1e_acl_rec(self, port):
+        if not posix1e: return
         data = vint.read_bvec(port)
         acl_reps = vint.unpack('ssss', data)
         if acl_reps[2] == '':