Skip to content

Commit b1fb68b

Browse files
committed
Python: Rename .qll file for mysql-connector-python support
Just like our support for the `PyYAML` PyPI package that you import with `import yaml` is in `Yaml.qll`. Since this file does not provide any public predicates/modules, it should be safe to rename it.
1 parent b154f03 commit b1fb68b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/ql/src/semmle/python/Frameworks.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private import semmle.python.frameworks.Flask
1414
private import semmle.python.frameworks.Idna
1515
private import semmle.python.frameworks.Invoke
1616
private import semmle.python.frameworks.Multidict
17-
private import semmle.python.frameworks.MysqlConnectorPython
17+
private import semmle.python.frameworks.Mysql
1818
private import semmle.python.frameworks.MySQLdb
1919
private import semmle.python.frameworks.Psycopg2
2020
private import semmle.python.frameworks.PyMySQL

python/ql/src/semmle/python/frameworks/MysqlConnectorPython.qll renamed to python/ql/src/semmle/python/frameworks/Mysql.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private import semmle.python.frameworks.PEP249
2020
* - https://dev.mysql.com/doc/connector-python/en/
2121
* - https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
2222
*/
23-
private module MysqlConnectorPython {
23+
private module Mysql {
2424
// ---------------------------------------------------------------------------
2525
// mysql
2626
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)