From 6ef659ffbc0f4a2d1b9f4fda60e4038f8bfd25c9 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Wed, 8 Oct 2014 06:28:06 +0200 Subject: Fix a regression introduced in 0.1.12. --- sqlparse/engine/grouping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlparse/engine') 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 -- cgit v1.2.1