summaryrefslogtreecommitdiff
path: root/sqlparse/formatter.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2009-05-06 18:50:27 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2009-05-06 18:50:27 +0200
commit01b2e8f15c57296bb14d7d56242fca641bcbcebe (patch)
tree9c07ff9aa40bb891d54ed729b403f5f4b80f88a1 /sqlparse/formatter.py
parent974222bcb24a5b2bf3a0e5ecd616a2c3855e8342 (diff)
downloadsqlparse-01b2e8f15c57296bb14d7d56242fca641bcbcebe.tar.gz
* Python and PHP output filter now add a trailing whitespace.
* More test coverage.
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: