From 01b2e8f15c57296bb14d7d56242fca641bcbcebe Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Wed, 6 May 2009 18:50:27 +0200 Subject: * Python and PHP output filter now add a trailing whitespace. * More test coverage. --- sqlparse/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlparse/formatter.py') 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: -- cgit v1.2.1