From: Rob Browning Date: Mon, 16 Sep 2013 17:55:12 +0000 (-0500) Subject: Don't try to load POSIX1e ACLs when the library isn't installed. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2b1209379c2f6958755f4dc6509ff17403d64630;p=packages%2Fb%2Fbup.git Don't try to load POSIX1e ACLs when the library isn't installed. Signed-off-by: Rob Browning --- diff --git a/lib/bup/metadata.py b/lib/bup/metadata.py index 394c8c3..2c6eb88 100644 --- a/lib/bup/metadata.py +++ b/lib/bup/metadata.py @@ -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] == '':