]> git.phdru.name Git - sqlconvert.git/blobdiff - sqlconvert/process_mysql.py
Fix misspelling in a comment
[sqlconvert.git] / sqlconvert / process_mysql.py
index 5c2924a1b5e7fe269f353e2c78e77eb0c9e8bd67..1834855dc9b59aee5261cf065afcab1c58310fac 100644 (file)
@@ -29,7 +29,7 @@ def is_directive_statement(statement):
 
 
 def remove_directive_tokens(statement):
-    """Remove /*! directives */ from the first-level"""
+    """Remove /\*! directives \*/ from the first-level"""
     new_tokens = []
     for token in statement.tokens:
         if _is_directive_token(token):
@@ -131,7 +131,7 @@ def split_ext_insert(statement):
         if i == len(values_tokens) - 1:  # Last but one statement
             # Insert newlines only between split statements but not after
             new_lines = []
-        # The statemnt sets `parent` attribute of the every token to self
+        # The statement sets `parent` attribute of the every token to self
         # but we don't care.
         statement = Statement(insert_tokens + [values] +
                               end_tokens + new_lines)