Forráskód Böngészése

fix misleading hint the fuse ImportError handler gave, fixes #237

Thomas Waldmann 10 éve
szülő
commit
ee1dc89b52
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      attic/archiver.py

+ 2 - 2
attic/archiver.py

@@ -242,8 +242,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):