1
0
Fork 0
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:
Thomas Waldmann 2023-07-29 23:42:36 +02:00
parent ef52d13608
commit de7e7e2a95
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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')