Browse code

fix conditional import xattr module

Matt Domsch authored on 2013/05/15 13:36:15
Showing 1 changed files
... ...
@@ -12,7 +12,8 @@ import re
12 12
 from subprocess import Popen, PIPE, STDOUT
13 13
 import locale
14 14
 import pwd
15
-import xattr
15
+try: import xattr
16
+except: pass
16 17
 
17 18
 count_pass = 0
18 19
 count_fail = 0