summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
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