summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-03-14 20:23:20 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2016-03-14 20:23:20 -0500
commit447a6d4fccf92e20f003473f1a32cf118d1c320d (patch)
treebee51d48124a98b18e7e6cdd6e7dfc3416f6a447
parentdaf5c4d80d576b23d4b43feee356b736a216573d (diff)
downloadflake8-447a6d4fccf92e20f003473f1a32cf118d1c320d.tar.gz
Fix indentation causing incorrect logical lines
-rw-r--r--flake8/processor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake8/processor.py b/flake8/processor.py
index f2f5b00..30c0e96 100644
--- a/flake8/processor.py
+++ b/flake8/processor.py
@@ -163,8 +163,8 @@ class FileProcessor(object):
(previous_text not in '{[(' and
text not in '}])')):
text = ' ' + text
- elif previous_column != start_column:
- text = line[previous_column:start_column] + text
+ elif previous_column != start_column:
+ text = line[previous_column:start_column] + text
logical.append(text)
length += len(text)
mapping.append((length, end))