mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
ENOATTR import cleanups
This commit is contained in:
parent
c9ebeba933
commit
7278a1d5fc
2 changed files with 2 additions and 4 deletions
|
|
@ -12,15 +12,14 @@ from signal import SIGINT
|
|||
from typing import TYPE_CHECKING
|
||||
|
||||
from .constants import ROBJ_FILE_STREAM, zeros
|
||||
from .platform import ENOATTR
|
||||
|
||||
if TYPE_CHECKING:
|
||||
# For type checking, assume llfuse is available
|
||||
# This allows mypy to understand llfuse.Operations
|
||||
import llfuse
|
||||
from .fuse_impl import has_pyfuse3
|
||||
from .fuse_impl import has_pyfuse3, ENOATTR
|
||||
else:
|
||||
from .fuse_impl import llfuse, has_pyfuse3
|
||||
from .fuse_impl import llfuse, has_pyfuse3, ENOATTR
|
||||
|
||||
if has_pyfuse3:
|
||||
import trio
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ import pytest
|
|||
|
||||
from ... import xattr, platform
|
||||
from ...constants import * # NOQA
|
||||
from ...platform import ENOATTR
|
||||
from ...storelocking import Lock
|
||||
from ...helpers import flags_noatime, flags_normal
|
||||
from .. import has_lchflags, has_any_fuse, ENOATTR
|
||||
|
|
|
|||
Loading…
Reference in a new issue