Browse Source

PR #238 - Merge branch 'fix_fuse_error_msg' into merge

Thomas Waldmann 10 years ago
parent
commit
3daaceb6bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      attic/archiver.py

+ 2 - 2
attic/archiver.py

@@ -252,8 +252,8 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
         """Mount archive or an entire repository as a FUSE fileystem"""
         try:
             from attic.fuse import AtticOperations
-        except ImportError:
-            self.print_error('the "llfuse" module is required to use this feature')
+        except ImportError as e:
+            self.print_error('loading fuse support failed [ImportError: %s]' % str(e))
             return self.exit_code
 
         if not os.path.isdir(args.mountpoint) or not os.access(args.mountpoint, os.R_OK | os.W_OK | os.X_OK):