diff --git a/borg/fuse.py b/borg/fuse.py index 64c1d4cec..366039441 100644 --- a/borg/fuse.py +++ b/borg/fuse.py @@ -23,6 +23,7 @@ def fuse_main(): llfuse.main(single=True) return None + class ItemCache: def __init__(self): self.fd = tempfile.TemporaryFile(prefix='borg-tmp') @@ -250,6 +251,6 @@ def mount(self, mountpoint, extra_options, foreground=False): umount = False try: signal = fuse_main() - umount = (signal is None) # no crash and no signal -> umount request + umount = (signal is None) # no crash and no signal -> umount request finally: llfuse.close(umount) diff --git a/setup.py b/setup.py index c50afe7ea..9730608f8 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ # llfuse 0.40 (tested, proven, ok), needs FUSE version >= 2.8.0 # llfuse 0.41 (tested shortly, looks ok), needs FUSE version >= 2.8.0 # llfuse 1.0 will break API - 'fuse': ['llfuse<1.0', ], + 'fuse': ['llfuse<1.0', ], } from setuptools import setup, Extension