summaryrefslogtreecommitdiff
path: root/sqlparse/formatter.py
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2016-06-04 21:57:43 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2016-06-06 06:31:35 -0700
commita7c7d9586208516de372cb01203b48a53f7095fb (patch)
tree95e887de388e5f6f1516b1ea862e9d48a4d174eb /sqlparse/formatter.py
parent035ffb8e61b2cda516ae448246df36451ff6d14b (diff)
downloadsqlparse-a7c7d9586208516de372cb01203b48a53f7095fb.tar.gz
Format `pr` to pass flake8 and update functions used
Diffstat (limited to 'sqlparse/formatter.py')
-rw-r--r--sqlparse/formatter.py6
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]: