summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2014-10-08 06:28:06 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2014-10-08 06:28:06 +0200
commit6ef659ffbc0f4a2d1b9f4fda60e4038f8bfd25c9 (patch)
tree0028bcef2096c2d736d208b7bd752328e113ee2b
parente0430495417dd1601a3c6a4fd716e16d3534323a (diff)
downloadsqlparse-6ef659ffbc0f4a2d1b9f4fda60e4038f8bfd25c9.tar.gz
Fix a regression introduced in 0.1.12.
-rw-r--r--sqlparse/__init__.py2
-rw-r--r--sqlparse/engine/grouping.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sqlparse/__init__.py b/sqlparse/__init__.py
index bfaaad3..983ee34 100644
--- a/sqlparse/__init__.py
+++ b/sqlparse/__init__.py
@@ -6,7 +6,7 @@
"""Parse SQL statements."""
-__version__ = '0.1.12'
+__version__ = '0.1.13-dev'
# Setup namespace
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py
index 8236c49..15dc5de 100644
--- a/sqlparse/engine/grouping.py
+++ b/sqlparse/engine/grouping.py
@@ -117,7 +117,7 @@ def group_as(tlist):
return not token.ttype in (T.DML, T.DDL)
def _left_valid(token):
- if token.ttype is T.Keyword and token.value in ('NULL'):
+ if token.ttype is T.Keyword and token.value in ('NULL',):
return True
return token.ttype is not T.Keyword