summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-20 07:53:07 -0400
committerTim Graham <timograham@gmail.com>2016-09-20 07:53:07 -0400
commita16326e690d6363b0f191152f7b54dce40648d39 (patch)
tree9ac648f7209a65c568cbc107b9d9cfb49eeef426 /sqlparse
parentb8f73564b747cdb250fcc75fa7aa02f56d6484e0 (diff)
downloadsqlparse-a16326e690d6363b0f191152f7b54dce40648d39.tar.gz
Fix flake8 warnings.
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/filters/reindent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/filters/reindent.py b/sqlparse/filters/reindent.py
index ab6c00f..ff1b211 100644
--- a/sqlparse/filters/reindent.py
+++ b/sqlparse/filters/reindent.py
@@ -140,7 +140,7 @@ class ReindentFilter(object):
_, ws = tlist.token_next(
tlist.token_index(token), skip_ws=False)
if (ws is not None
- and not ws.ttype is T.Text.Whitespace):
+ and ws.ttype is not T.Text.Whitespace):
tlist.insert_after(
token, sql.Token(T.Whitespace, ' '))
position = 0