diff options
Diffstat (limited to 'sqlparse/formatter.py')
| -rw-r--r-- | sqlparse/formatter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlparse/formatter.py b/sqlparse/formatter.py index 0fa563c..069109b 100644 --- a/sqlparse/formatter.py +++ b/sqlparse/formatter.py @@ -30,10 +30,10 @@ def validate_options(options): raise SQLParseError('Invalid value for strip_comments: %r' % strip_comments) - use_space_around_operators = options.get('use_space_around_operators', False) - if use_space_around_operators not in [True, False]: + space_around_operators = options.get('use_space_around_operators', False) + if space_around_operators not in [True, False]: raise SQLParseError('Invalid value for use_space_around_operators: %r' - % use_space_around_operators) + % space_around_operators) strip_ws = options.get('strip_whitespace', False) if strip_ws not in [True, False]: |
