mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-04 10:39:50 +00:00
remove unused "flags_root" open flags
This commit is contained in:
parent
c99b849abe
commit
08e09999d9
2 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,7 @@ from .fs import ensure_dir, join_base_dir, get_socket_filename
|
|||
from .fs import get_security_dir, get_keys_dir, get_base_dir, get_cache_dir, get_config_dir, get_runtime_dir
|
||||
from .fs import dir_is_tagged, dir_is_cachedir, remove_dotdot_prefixes, make_path_safe, scandir_inorder
|
||||
from .fs import secure_erase, safe_unlink, dash_open, os_open, os_stat, umount
|
||||
from .fs import O_, flags_root, flags_dir, flags_special_follow, flags_special, flags_base, flags_normal, flags_noatime
|
||||
from .fs import O_, flags_dir, flags_special_follow, flags_special, flags_base, flags_normal, flags_noatime
|
||||
from .fs import HardLinkManager
|
||||
from .misc import sysinfo, log_multi, consume
|
||||
from .misc import ChunkIteratorFileWrapper, open_item, chunkit, iter_separated, ErrorIgnoringTextIOWrapper
|
||||
|
|
|
@ -450,7 +450,6 @@ flags_special = flags_base | O_("NOFOLLOW") # BLOCK == wait when reading device
|
|||
flags_special_follow = flags_base # BLOCK == wait when reading symlinked devices or fifos
|
||||
flags_normal = flags_base | O_("NONBLOCK", "NOFOLLOW")
|
||||
flags_noatime = flags_normal | O_("NOATIME")
|
||||
flags_root = O_("RDONLY")
|
||||
flags_dir = O_("DIRECTORY", "RDONLY", "NOFOLLOW")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue