]> git.phdru.name Git - sqlconvert.git/commitdiff
Fix(process_mysql): Fix invalid escape sequence `\*`
authorOleg Broytman <phd@phdru.name>
Wed, 26 Feb 2020 22:49:47 +0000 (01:49 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Feb 2020 21:40:44 +0000 (00:40 +0300)
sqlconvert/process_mysql.py

index 303dcf3d3651ce321f4610860c22e08adcc7b9a0..c89d6d190940dad18230043b6ae77da89bfababf 100644 (file)
@@ -29,7 +29,7 @@ def is_directive_statement(statement):
 
 
 def remove_directive_tokens(statement):
-    """Remove /\*! directives \*/ from the first-level"""  # noqa: W605: \*
+    """Remove /*! directives */ from the first-level"""
     new_tokens = []
     for token in statement.tokens:
         if _is_directive_token(token):