mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
Revert "import all the frameworks that extend RegexString"
This reverts commit 84bc9042de4e876685f8f5ffdd88893383d1cfdc. It caused ql/abstract-class-import alerts
This commit is contained in:
@@ -111,11 +111,6 @@ deprecated string mode_from_mode_object(Value obj) {
|
||||
)
|
||||
}
|
||||
|
||||
// importing all the frameworks that extend `RegexString`.
|
||||
private import semmle.python.frameworks.Django as Django1
|
||||
private import semmle.python.frameworks.Tornado as Tornado1
|
||||
private import semmle.python.web.django.General as Django2
|
||||
|
||||
/** A StrConst used as a regular expression */
|
||||
abstract class RegexString extends Expr {
|
||||
RegexString() { (this instanceof Bytes or this instanceof Unicode) }
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
| Dict | 46 | 54 | 46 | 55 |
|
||||
| Dict | 48 | 9 | 48 | 19 |
|
||||
| DictUnpacking | 46 | 52 | 46 | 55 |
|
||||
| DjangoViewClassHelper | 4 | 1 | 4 | 8 |
|
||||
| Ellipsis | 7 | 7 | 7 | 9 |
|
||||
| Ellipsis | 50 | 14 | 50 | 16 |
|
||||
| ExceptStmt | 32 | 9 | 32 | 31 |
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
| Dict | 46 | 54 | 46 | 55 |
|
||||
| Dict | 48 | 9 | 48 | 19 |
|
||||
| DictUnpacking | 46 | 52 | 46 | 55 |
|
||||
| DjangoViewClassHelper | 4 | 1 | 4 | 8 |
|
||||
| Ellipsis | 7 | 7 | 7 | 9 |
|
||||
| Ellipsis | 50 | 14 | 50 | 16 |
|
||||
| ExceptStmt | 32 | 9 | 32 | 31 |
|
||||
|
||||
Reference in New Issue
Block a user