]> git.phdru.name Git - sqlconvert.git/blobdiff - sqlconvert/process_mysql.py
Rename remove_directives -> remove_directive_tokens
[sqlconvert.git] / sqlconvert / process_mysql.py
index 3f2f6aa3c7dee8ad84f60c3a630050c8f3d413b6..f91f516d2d9236f53dd320f5eb2a958545d54c9d 100644 (file)
@@ -26,7 +26,7 @@ def is_directive_statement(statement):
     return True
 
 
-def remove_directives(statement):
+def remove_directive_tokens(statement):
     """Remove /*! directives */ from the first-level"""
     new_tokens = []
     for token in statement.tokens:
@@ -50,5 +50,5 @@ def requote_names(token_list):
 
 
 def process_statement(statement):
-    remove_directives(statement)
+    remove_directive_tokens(statement)
     requote_names(statement)