From eabaac100830cab2b27018fa947dfcc8c3dffc0b Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Sun, 3 Dec 2017 16:23:50 +0100 Subject: Fix regression introduced by new indent_after_first option. --- sqlparse/formatter.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sqlparse') diff --git a/sqlparse/formatter.py b/sqlparse/formatter.py index b36fe56..0a1b055 100644 --- a/sqlparse/formatter.py +++ b/sqlparse/formatter.py @@ -74,6 +74,7 @@ def validate_options(options): if indent_after_first not in [True, False]: raise SQLParseError('Invalid value for indent_after_first: ' '{0!r}'.format(indent_after_first)) + options['indent_after_first'] = indent_after_first indent_tabs = options.get('indent_tabs', False) if indent_tabs not in [True, False]: -- cgit v1.2.1