mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
fix pep8 failures
This commit is contained in:
parent
ecdbfcbea2
commit
44c8a4af80
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ def fuse_main():
|
||||||
llfuse.main(single=True)
|
llfuse.main(single=True)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
class ItemCache:
|
class ItemCache:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.fd = tempfile.TemporaryFile(prefix='borg-tmp')
|
self.fd = tempfile.TemporaryFile(prefix='borg-tmp')
|
||||||
|
@ -250,6 +251,6 @@ def mount(self, mountpoint, extra_options, foreground=False):
|
||||||
umount = False
|
umount = False
|
||||||
try:
|
try:
|
||||||
signal = fuse_main()
|
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:
|
finally:
|
||||||
llfuse.close(umount)
|
llfuse.close(umount)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -25,7 +25,7 @@
|
||||||
# llfuse 0.40 (tested, proven, ok), needs FUSE version >= 2.8.0
|
# 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 0.41 (tested shortly, looks ok), needs FUSE version >= 2.8.0
|
||||||
# llfuse 1.0 will break API
|
# llfuse 1.0 will break API
|
||||||
'fuse': ['llfuse<1.0', ],
|
'fuse': ['llfuse<1.0', ],
|
||||||
}
|
}
|
||||||
|
|
||||||
from setuptools import setup, Extension
|
from setuptools import setup, Extension
|
||||||
|
|
Loading…
Reference in a new issue