summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2017-12-03 16:23:50 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2017-12-03 16:23:50 +0100
commiteabaac100830cab2b27018fa947dfcc8c3dffc0b (patch)
tree4814eec0e381a68507accb4dce4353fd912f8cf1 /sqlparse
parent5131c4cad3491246482b3c0f629619538f33c2aa (diff)
downloadsqlparse-eabaac100830cab2b27018fa947dfcc8c3dffc0b.tar.gz
Fix regression introduced by new indent_after_first option.
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/formatter.py1
1 files changed, 1 insertions, 0 deletions
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]: