Python: Update pyramid library to use correct response class

Tested with pyramid 1.10.4 and python 3.6.8
This commit is contained in:
Rasmus Wriedt Larsen
2019-09-30 15:34:26 +02:00
parent 66a0e153a5
commit 4463b30ce7

View File

@@ -35,7 +35,7 @@ class PyramidCookieSet extends CookieSet, CallNode {
PyramidCookieSet() {
exists(ControlFlowNode f |
f = this.getFunction().(AttrNode).getObject("set_cookie") and
f.pointsTo().getClass() = Value::named("pyramid.Response")
f.pointsTo().getClass() = Value::named("pyramid.response.Response")
)
}