Skip to content

Commit bbc3ff2

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent a3076f4 commit bbc3ff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/frameworks/Stdlib/StdLib.model.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extensions:
1818
# See
1919
# - https://docs.python.org/3/glossary.html#term-mapping
2020
# - https://docs.python.org/3/library/stdtypes.html#dict.get
21-
- ["_collections_abc.Mapping", "Member[get]", "Argument[1,default:]", "ReturnValue", "taint"]
21+
- ["collections.abc.Mapping", "Member[get]", "Argument[1,default:]", "ReturnValue", "taint"]
2222
# See https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser
2323
- ["argparse.ArgumentParser", "Member[_parse_known_args,_read_args_from_files]", "Argument[0,arg_strings:]", "ReturnValue", "taint"]
2424
- ["argparse.ArgumentParser", "Member[parse_args,parse_known_args]", "Argument[0,args:]", "ReturnValue", "taint"]
@@ -88,7 +88,7 @@ extensions:
8888
# See https://docs.python.org/3/library/shlex.html#shlex.quote
8989
- ["shlex", "Member[quote]", "Argument[0,s:]", "ReturnValue", "taint"]
9090
# See https://docs.python.org/3/library/shutil.html#shutil.rmtree
91-
- ["shutil", "Member[rmtree]", "Argument[0,path:]", "Argument[2,onerror:,onexc:].Argument[1]", "taint"]
91+
- ["shutil", "Member[rmtree]", "Argument[0,path:]", "Argument[2,onerror:,onexc:].Parameter[1]", "taint"]
9292
# See https://docs.python.org/3/library/shutil.html#shutil.which
9393
- ["shutil", "Member[which]", "Argument[0,cmd:,2,path:]", "ReturnValue", "taint"]
9494
# See https://docs.python.org/3/library/subprocess.html#subprocess.Popen

0 commit comments

Comments
 (0)