Skip to content

Commit 4521a9f

Browse files
yoffRasmusWL
andauthored
Update python/ql/lib/semmle/python/frameworks/Stdlib.qll
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 02e91b3 commit 4521a9f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,7 @@ private module StdlibPrivate {
222222
// these check if the file exists
223223
"exists", "lexists", "isfile", "isdir", "islink", "ismount",
224224
// these raise errors if the file does not exist
225-
"getatime", "getmtime", "getctime", "getsize",
226-
// this will resolve symlinks
227-
"realpath"
225+
"getatime", "getmtime", "getctime", "getsize"
228226
])
229227
.getACall()
230228
}

0 commit comments

Comments
 (0)