Skip to content

Commit

Permalink
Merge pull request borgbackup#7751 from ThomasWaldmann/fix-unreadable…
Browse files Browse the repository at this point in the history
…-parent-of-root-fixup-1.2

remove unused "flags_root" open flags
  • Loading branch information
ThomasWaldmann authored Jul 29, 2023
2 parents ef52d13 + de7e7e2 commit f6e20fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/borg/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
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
Expand Down
1 change: 0 additions & 1 deletion src/borg/helpers/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ def O_(*flags):
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')


Expand Down

0 comments on commit f6e20fb

Please sign in to comment.