Python: Modernizes queries

This commit is contained in:
Rebecca Valentine
2020-03-09 12:52:33 -07:00
parent 6a1203a60f
commit c9c469b201
4 changed files with 14 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
import python
from ExceptFlowNode ex, Object obj
where ex.handledException_objectapi(obj, _, _)
select ex.getLocation().getStartLine(), ex.toString(), obj.toString()
from ExceptFlowNode ex, Value val
where ex.handledException(val, _, _)
select ex.getLocation().getStartLine(), ex.toString(), val.toString()