From 49b41027a3cb88b74f9d4ffb1adb34367c7763ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Legan=C3=A9s=20Combarro=20=22Piranna=22?= Date: Sun, 3 Jun 2012 13:25:32 +0200 Subject: Clean-up --- sqlparse/engine/grouping.py | 7 ------- sqlparse/filters.py | 1 - 2 files changed, 8 deletions(-) (limited to 'sqlparse') 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: -- cgit v1.2.1