diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2014-10-08 06:28:06 +0200 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2014-10-08 06:28:06 +0200 |
commit | 6ef659ffbc0f4a2d1b9f4fda60e4038f8bfd25c9 (patch) | |
tree | 0028bcef2096c2d736d208b7bd752328e113ee2b /sqlparse/engine | |
parent | e0430495417dd1601a3c6a4fd716e16d3534323a (diff) | |
download | sqlparse-6ef659ffbc0f4a2d1b9f4fda60e4038f8bfd25c9.tar.gz |
Fix a regression introduced in 0.1.12.
Diffstat (limited to 'sqlparse/engine')
-rw-r--r-- | sqlparse/engine/grouping.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |