mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Fixup broken patch
This commit is contained in:
@@ -45,9 +45,7 @@ module ModificationOfParameterWithDefault {
|
||||
copyTarget(node) and state in [true, false]
|
||||
}
|
||||
|
||||
private predicate observeDiffInformedIncrementalMode() { any() }
|
||||
|
||||
predicate copyTarget(DataFlow::Node node) {
|
||||
private predicate copyTarget(DataFlow::Node node) {
|
||||
node = API::moduleImport("copy").getMember(["copy", "deepcopy"]).getACall()
|
||||
or
|
||||
node.(DataFlow::MethodCallNode).calls(_, "copy")
|
||||
|
||||
Reference in New Issue
Block a user