Python: ObjAPI to ValAPI: WrongNumArgsInCall: Update queries to use objectapi

This commit is contained in:
Rebecca Valentine
2020-04-04 03:11:25 -07:00
parent 8c1aeb24cb
commit 01aac8273c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
import python
from RaisingNode r, Scope s, ClassObject cls
where r.viableExceptionalExit(s, cls)
where r.viableExceptionalExit_objectapi(s, cls)
select r.getLocation().getStartLine(), r.toString(), s.toString(), cls.toString()

View File

@@ -1,6 +1,6 @@
import python
from RaisingNode r, ControlFlowNode n, ClassObject ex
where r.viableExceptionEdge(n, ex)
where r.viableExceptionEdge_objectapi(n, ex)
select r.getLocation().getStartLine(), n.getLocation().getStartLine(), r.getNode().toString(),
n.getNode().toString(), ex.toString()