diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2009-05-06 18:50:27 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2009-05-06 18:50:27 +0200 |
| commit | 01b2e8f15c57296bb14d7d56242fca641bcbcebe (patch) | |
| tree | 9c07ff9aa40bb891d54ed729b403f5f4b80f88a1 /sqlparse/formatter.py | |
| parent | 974222bcb24a5b2bf3a0e5ecd616a2c3855e8342 (diff) | |
| download | sqlparse-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.py | 2 |
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: |
