summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2017-12-03 16:36:14 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2017-12-03 16:36:14 +0100
commit374941644e7006b1b0149b349a7220c346fe876b (patch)
tree63169aba1dbcdf50c29220de3444d0f84cb155ec /sqlparse
parenteabaac100830cab2b27018fa947dfcc8c3dffc0b (diff)
downloadsqlparse-374941644e7006b1b0149b349a7220c346fe876b.tar.gz
Code cleanup.
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/formatter.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/sqlparse/formatter.py b/sqlparse/formatter.py
index 0a1b055..6bd8033 100644
--- a/sqlparse/formatter.py
+++ b/sqlparse/formatter.py
@@ -157,11 +157,12 @@ def build_filter_stack(stack, options):
if options.get('reindent'):
stack.enable_grouping()
stack.stmtprocess.append(
- filters.ReindentFilter(char=options['indent_char'],
- width=options['indent_width'],
- indent_after_first=options['indent_after_first'],
- wrap_after=options['wrap_after'],
- comma_first=options['comma_first']))
+ filters.ReindentFilter(
+ char=options['indent_char'],
+ width=options['indent_width'],
+ indent_after_first=options['indent_after_first'],
+ wrap_after=options['wrap_after'],
+ comma_first=options['comma_first']))
if options.get('reindent_aligned', False):
stack.enable_grouping()