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/__init__.py | 2 +- sqlparse/engine/grouping.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sqlparse') 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 -- cgit v1.2.1