diff options
| author | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-06-03 13:25:32 +0200 |
|---|---|---|
| committer | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-06-03 13:25:32 +0200 |
| commit | 49b41027a3cb88b74f9d4ffb1adb34367c7763ce (patch) | |
| tree | b44e4b16ac79a82a1c31d757fda18f21aca7e2a0 /sqlparse | |
| parent | b97a974e1c3b77118b50bd72a29c7046c7432450 (diff) | |
| download | sqlparse-49b41027a3cb88b74f9d4ffb1adb34367c7763ce.tar.gz | |
Clean-up
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/engine/grouping.py | 7 | ||||
| -rw-r--r-- | sqlparse/filters.py | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py index 7b8b6b4..b82a317 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -237,12 +237,6 @@ def group_identifier_list(tlist): # Check the next token next_ = tlist.token_next(after) while next_: -# # Next token is another comma or an identifier list keyword -# if next_.match(T.Punctuation, ','): -# return next_ -# -# next_ = tlist.token_next(next_) - if next_.value != ',': passed = False for func in fend1_funcs: @@ -251,7 +245,6 @@ def group_identifier_list(tlist): break if not passed: - print "not passed", repr(next_) break after = next_ diff --git a/sqlparse/filters.py b/sqlparse/filters.py index bcfb776..50c7911 100644 --- a/sqlparse/filters.py +++ b/sqlparse/filters.py @@ -426,7 +426,6 @@ class ReindentFilter: if not tlist.within(sql.Function): # Get identifiers from the tlist identifiers = list(tlist.get_identifiers()) - print identifiers # Split the identifier list if we have more than one identifier if len(identifiers) > 1: |
