Explorar el Código

Fix FUSE crash in xattr code on Linux introduced in 4d7b0f35

Marian Beermann hace 9 años
padre
commit
31bbdc3bee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      borg/fuse.py

+ 1 - 1
borg/fuse.py

@@ -194,7 +194,7 @@ class FuseOperations(llfuse.Operations):
         try:
             return item.get(b'xattrs', {})[name]
         except KeyError:
-            raise llfuse.FUSEError(errno.ENOATTR) from None
+            raise llfuse.FUSEError(llfuse.ENOATTR) from None
 
     def _load_pending_archive(self, inode):
         # Check if this is an archive we need to load