diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2012-11-12 06:43:32 +0100 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2012-11-12 14:39:50 +0100 |
commit | f4876322e7fe36923d4eb89757a844b3d90be306 (patch) | |
tree | 21a1038ded7af284714e84efb53c21e041435c9d /sqlparse/engine | |
parent | 403b8148594d9c49b7e70a342252ceee2f026d1f (diff) | |
download | sqlparse-f4876322e7fe36923d4eb89757a844b3d90be306.tar.gz |
PEP8'ified to code a bit.
Diffstat (limited to 'sqlparse/engine')
-rw-r--r-- | sqlparse/engine/grouping.py | 3 |
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) |