Skip to content

Commit d6544cc

Browse files
committed
Python: remove consistency exclusion
1 parent 64655a0 commit d6544cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

python/ql/consistency-queries/DataFlowConsistency.ql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ private module Input implements InputSig<PythonDataFlow> {
129129
arg = other.getArgument(any(ArgumentPosition p | p.isSelf())) and
130130
other.getNode().getScope() = f
131131
)
132-
or
133-
// The capture argument node will be reused for every call to the same callable.
134-
arg = call.getArgument(_) and
135-
arg instanceof CapturingClosureArgumentNode
136132
}
137133
}
138134

0 commit comments

Comments
 (0)