summaryrefslogtreecommitdiff
path: root/sqlparse/formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse/formatter.py')
-rw-r--r--sqlparse/formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/formatter.py b/sqlparse/formatter.py
index 9c6f76b..b9fd891 100644
--- a/sqlparse/formatter.py
+++ b/sqlparse/formatter.py
@@ -41,7 +41,7 @@ def validate_options(options):
options['strip_whitespace'] = True
indent_tabs = options.get('indent_tabs', False)
if indent_tabs not in [True, False]:
- raise SQLParserError('Invalid value for indent_tabs: %r' % indent_tabs)
+ raise SQLParseError('Invalid value for indent_tabs: %r' % indent_tabs)
elif indent_tabs:
options['indent_char'] = '\t'
else: