From ad102e27467d31f2cf43492438a30f817480ec7e Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Thu, 2 Sep 2021 15:39:47 +0200 Subject: [PATCH] Python: Minor cleanup to snippets As pointed out in review, we don't need this override any more! --- python/.vscode/ql.code-snippets | 2 -- python/ql/lib/semmle/python/frameworks/Django.qll | 2 -- 2 files changed, 4 deletions(-) diff --git a/python/.vscode/ql.code-snippets b/python/.vscode/ql.code-snippets index 862d43291e3..bd7a3321ca9 100644 --- a/python/.vscode/ql.code-snippets +++ b/python/.vscode/ql.code-snippets @@ -180,8 +180,6 @@ "", " /** A direct instantiation of `${TM_SELECTED_TEXT}`. */", " private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode {", - " override CallNode node;", - "", " ClassInstantiation() { this = classRef().getACall() }", " }", "", diff --git a/python/ql/lib/semmle/python/frameworks/Django.qll b/python/ql/lib/semmle/python/frameworks/Django.qll index d39147c153f..08afa55635a 100644 --- a/python/ql/lib/semmle/python/frameworks/Django.qll +++ b/python/ql/lib/semmle/python/frameworks/Django.qll @@ -322,8 +322,6 @@ private module Django { /** A direct instantiation of `django.utils.datastructures.MultiValueDict`. */ private class ClassInstantiation extends InstanceSource, DataFlow::CallCfgNode { - override CallNode node; - ClassInstantiation() { this = classRef().getACall() } }