Skip to content

Commit 3e38339

Browse files
committed
Python: Remove unused getTornadoRequestHandlerMethod
It was only used in a test, and with the mock, it gives no results anyway.
1 parent bc50e90 commit 3e38339

3 files changed

Lines changed: 0 additions & 16 deletions

File tree

python/ql/src/semmle/python/web/tornado/Tornado.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ ClassObject aTornadoRequestHandlerClass() {
1111
result.getASuperType() = theTornadoRequestHandlerClass()
1212
}
1313

14-
FunctionObject getTornadoRequestHandlerMethod(string name) {
15-
result = theTornadoRequestHandlerClass().declaredAttribute(name)
16-
}
17-
1814
/** Holds if `node` is likely to refer to an instance of a tornado
1915
* `RequestHandler` class.
2016
*/

python/ql/test/library-tests/web/tornado/Methods.expected

Whitespace-only changes.

python/ql/test/library-tests/web/tornado/Methods.ql

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)