satisfy black
This commit is contained in:
1 parent
48cba37764
commit
08e15b84ae
1 file changed
+1
-3
@@ -76,9 +76,7 @@ def analyse_sql_statements(sql_statements):
|
|||||||
for test in migration_tests:
|
for test in migration_tests:
|
||||||
if test["fn"](statement, errors=errors):
|
if test["fn"](statement, errors=errors):
|
||||||
logger.debug("Testing {0} -- ERROR".format(statement))
|
logger.debug("Testing {0} -- ERROR".format(statement))
|
||||||
table_search = re.search(
|
table_search = re.search("TABLE `([^`]*)`", statement, re.IGNORECASE)
|
||||||
"TABLE `([^`]*)`", statement, re.IGNORECASE
|
|
||||||
)
|
|
||||||
col_search = re.search("COLUMN `([^`]*)`", statement, re.IGNORECASE)
|
col_search = re.search("COLUMN `([^`]*)`", statement, re.IGNORECASE)
|
||||||
err = {
|
err = {
|
||||||
"err_msg": test["err_msg"],
|
"err_msg": test["err_msg"],
|
||||||
|
|||||||
Reference in new issue
Block a user