diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-24 08:17:10 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-24 08:17:10 +0200 |
| commit | 841388fc22da9f6e58940e72d0da5d1186e3ec14 (patch) | |
| tree | 63ecaa75226076c217087bb5d6458d59ca12b8ce /sqlparse | |
| parent | 9f638ed86f1103b44b9c061500f7133c29ba8676 (diff) | |
| parent | 1c3f9291f4b79df410947b6410c88077d5162a22 (diff) | |
| download | sqlparse-841388fc22da9f6e58940e72d0da5d1186e3ec14.tar.gz | |
Merge pull request #202 from timgraham/generator-stopiteration
Fix PendingDeprecationWarning on Python 3.5.
Diffstat (limited to 'sqlparse')
| -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 132d06f..c8c2415 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -180,7 +180,7 @@ def group_identifier(tlist): else: if isinstance(t, sql.Comment) and t.is_multiline(): yield t - raise StopIteration + return def _next_token(tl, i): # chooses the next token. if two tokens are found then the |
