File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
python/ql/lib/semmle/python/frameworks Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,11 @@ private import semmle.python.frameworks.PEP249
21
21
* - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
22
22
*/
23
23
private module Mysql {
24
- // ---------------------------------------------------------------------------
25
- // mysql
26
- // ---------------------------------------------------------------------------
27
- /** Provides models for the `mysql` module. */
28
- module MysqlMod {
29
- /**
30
- * The mysql.connector module
31
- * See https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
32
- */
33
- class MysqlConnector extends PEP249:: PEP249ModuleApiNode {
34
- MysqlConnector ( ) { this = API:: moduleImport ( "mysql" ) .getMember ( "connector" ) }
35
- }
24
+ /**
25
+ * The mysql.connector module
26
+ * See https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
27
+ */
28
+ class MysqlConnector extends PEP249:: PEP249ModuleApiNode {
29
+ MysqlConnector ( ) { this = API:: moduleImport ( "mysql" ) .getMember ( "connector" ) }
36
30
}
37
31
}
You can’t perform that action at this time.
0 commit comments