mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 06:03:38 +00:00
remove unused "flags_root" open flags
This commit is contained in:
parent
ef52d13608
commit
de7e7e2a95
2 changed files with 1 additions and 2 deletions
|
@ -70,7 +70,7 @@ try:
|
|||
from .helpers import popen_with_error_handling, prepare_subprocess_env, create_filter_process
|
||||
from .helpers import dash_open
|
||||
from .helpers import umount
|
||||
from .helpers import flags_root, flags_dir, flags_special_follow, flags_special
|
||||
from .helpers import flags_dir, flags_special_follow, flags_special
|
||||
from .helpers import msgpack
|
||||
from .helpers import sig_int, ignore_sigint
|
||||
from .helpers import iter_separated
|
||||
|
|
|
@ -262,7 +262,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