From 374941644e7006b1b0149b349a7220c346fe876b Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Sun, 3 Dec 2017 16:36:14 +0100 Subject: Code cleanup. --- sqlparse/formatter.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sqlparse') 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() -- cgit v1.2.1