summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2016-06-03 19:17:00 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2016-06-03 19:17:00 +0200
commitd488a0c05ca9ec66097bb6ee702c3b50d68ae378 (patch)
tree0fff4b658b2b5414c3ddef72ffc11ed1ff873540 /sqlparse
parentbbd87e4087bb5efa157c05efc2a8305fcb058344 (diff)
downloadsqlparse-d488a0c05ca9ec66097bb6ee702c3b50d68ae378.tar.gz
Code cleanup.
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/filters.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sqlparse/filters.py b/sqlparse/filters.py
index 8773475..f3fe1f1 100644
--- a/sqlparse/filters.py
+++ b/sqlparse/filters.py
@@ -416,7 +416,8 @@ class ReindentFilter(object):
self.offset += num_offset
position = self.offset
for token in identifiers[1:]:
- position += len(token.value) + 1 # Add 1 for the "," separator
+ # Add 1 for the "," separator
+ position += len(token.value) + 1
if position > self.wrap_after:
tlist.insert_before(token, self.nl())
position = self.offset