Skip to content

Commit 10cb8fa

Browse files
committed
fix missing handling of ?
1 parent d68a6dd commit 10cb8fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gef.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8946,9 +8946,9 @@ def do_invoke(self, _: List[str], **kwargs: Any) -> None:
89468946
addr = safe_parse_and_eval(arg)
89478947

89488948
if addr is None:
8949-
if arg[0] in 'r-' and \
8950-
arg[1] in 'w-' and \
8951-
arg[2] in 'x-':
8949+
if arg[0] in 'r-?' and \
8950+
arg[1] in 'w-?' and \
8951+
arg[2] in 'x-?':
89528952
perms.union(Permission.from_filter_repr(arg))
89538953
continue
89548954

0 commit comments

Comments
 (0)