]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/metadata.py
metadata: ignore old incompatible python-xattr module; we need python-pyxattr.
[bup.git] / lib / bup / metadata.py
index e2ace93636d0195a5dee9a7b5c9b8fc96f482cb7..041d3e717d27375ca00f73eded79d9b45ab6adbf 100644 (file)
@@ -17,6 +17,13 @@ try:
 except ImportError:
     log('Warning: Linux xattr support missing; install python-pyxattr.\n')
     xattr = None
+if xattr:
+    try:
+        xattr.get_all
+    except AttributeError:
+        log('Warning: python-xattr module is too old; '
+            'install python-pyxattr instead.\n')
+        xattr = None
 try:
     import posix1e
 except ImportError: