summaryrefslogtreecommitdiff
path: root/sqlparse/engine
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2012-11-12 14:40:07 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2012-11-12 14:40:07 +0100
commitdcab30c6387265dcbcbedfa2d515917ffc88d036 (patch)
treee3c03e7c8014d3770c3b68952c2c912367bf8235 /sqlparse/engine
parent9ef2a8e6080cfbe699aba0cad968c6e0d2554aa7 (diff)
parentf4876322e7fe36923d4eb89757a844b3d90be306 (diff)
downloadsqlparse-dcab30c6387265dcbcbedfa2d515917ffc88d036.tar.gz
Merge branch 'work'
Diffstat (limited to 'sqlparse/engine')
-rw-r--r--sqlparse/engine/grouping.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py
index a98e787..0b64d21 100644
--- a/sqlparse/engine/grouping.py
+++ b/sqlparse/engine/grouping.py
@@ -155,7 +155,8 @@ def group_identifier(tlist):
def _next_token(tl, i):
# chooses the next token. if two tokens are found then the
# first is returned.
- t1 = tl.token_next_by_type(i, (T.String.Symbol, T.String.Single, T.Name))
+ t1 = tl.token_next_by_type(
+ i, (T.String.Symbol, T.String.Single, T.Name))
t2 = tl.token_next_by_instance(i, sql.Function)
if t1 and t2:
i1 = tl.token_index(t1)