Skip to content

Commit 56dab25

Browse files
committed
Python: remove spurious dataflow step
1 parent cca675a commit 56dab25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ module EssaFlow {
171171
// see `with_flow` in `python/ql/src/semmle/python/dataflow/Implementation.qll`
172172
with.getContextExpr() = contextManager.getNode() and
173173
with.getOptionalVars() = var.getNode() and
174+
not with.isAsync() and
174175
contextManager.strictlyDominates(var)
175176
)
176177
or

0 commit comments

Comments
 (0)