Replace singular guard continue with simple if.

This commit is contained in:
voussoir 2019-04-01 23:16:25 -07:00
parent 2f6f4675ee
commit 2f33023025

View file

@ -184,9 +184,7 @@ CREATE INDEX IF NOT EXISTS index_tag_synonyms_name on tag_synonyms(name);
def _extract_table_statements(script):
for statement in script.split(';'):
if 'create table' not in statement.lower():
continue
if 'create table' in statement.lower():
yield statement
def _extract_table_name(create_table_statement):