Browse Source

rename fuse base class

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

+ 2 - 2
attic/archiver.py

@@ -293,7 +293,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
     def do_mount(self, args):
         """Mount archive or an entire repository as a FUSE fileystem"""
         try:
-            from attic.fuse import AtticOperations
+            from attic.fuse import FuseOperations
         except ImportError as e:
             self.print_error('loading fuse support failed [ImportError: %s]' % str(e))
             return self.exit_code
@@ -308,7 +308,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
             archive = Archive(repository, key, manifest, args.src.archive)
         else:
             archive = None
-        operations = AtticOperations(key, repository, manifest, archive)
+        operations = FuseOperations(key, repository, manifest, archive)
         self.print_verbose("Mounting filesystem")
         try:
             operations.mount(args.mountpoint, args.options, args.foreground)

+ 1 - 1
attic/fuse.py

@@ -34,7 +34,7 @@ class FuseOperations(llfuse.Operations):
     """Export archive as a fuse filesystem
     """
     def __init__(self, key, repository, manifest, archive):
-        super(AtticOperations, self).__init__()
+        super(FuseOperations, self).__init__()
         self._inode_count = 0
         self.key = key
         self.repository = cache_if_remote(repository)