Revert "import all the frameworks that extend RegexString"

This reverts commit 84bc9042de4e876685f8f5ffdd88893383d1cfdc.

It caused ql/abstract-class-import alerts
This commit is contained in:
Erik Krogh Kristensen
2022-03-09 21:04:36 +01:00
parent 3b9335c051
commit 7e4ab4c60b
3 changed files with 0 additions and 7 deletions

View File

@@ -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) }

View File

@@ -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 |

View File

@@ -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 |