mirror of
https://github.com/borgbackup/borg.git
synced 2024-09-11 12:36:12 +03:00
fuse/mount code and test fixes
This commit is contained in:
parent
c00861143a
commit
4f95318911
@ -46,7 +46,7 @@ def async_wrapper(fn):
|
||||
from .item import Item
|
||||
from .platform import uid2user, gid2group
|
||||
from .platformflags import is_darwin
|
||||
from .remote import RemoteRepository # TODO 3
|
||||
from .remote3 import RemoteRepository3
|
||||
|
||||
|
||||
def fuse_main():
|
||||
@ -546,7 +546,7 @@ def pop_option(options, key, present, not_present, wanted_type, int_base=0):
|
||||
self._create_filesystem()
|
||||
llfuse.init(self, mountpoint, options)
|
||||
if not foreground:
|
||||
if isinstance(self.repository_uncached, RemoteRepository):
|
||||
if isinstance(self.repository_uncached, RemoteRepository3):
|
||||
daemonize()
|
||||
else:
|
||||
with daemonizing() as (old_id, new_id):
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
from ... import xattr, platform
|
||||
from ...constants import * # NOQA
|
||||
from ...locking import Lock
|
||||
from ...locking3 import Lock
|
||||
from ...helpers import flags_noatime, flags_normal
|
||||
from .. import has_lchflags, llfuse
|
||||
from .. import changedir, no_selinux, same_ts_ns
|
||||
|
Loading…
Reference in New Issue
Block a user