Python: Modernise tornado library

This commit is contained in:
Rasmus Wriedt Larsen
2019-10-01 16:04:54 +02:00
parent 3e3833927b
commit 2bb933fef0
7 changed files with 21 additions and 12 deletions

View File

@@ -4,6 +4,6 @@ import python
import semmle.python.TestUtils
import semmle.python.web.tornado.Tornado
from ClassObject cls
from ClassValue cls
where cls = aTornadoRequestHandlerClass()
select cls.toString(), remove_library_prefix(cls.getPyClass().getLocation())
select cls.toString(), remove_library_prefix(cls.getScope().getLocation())