From 447a6d4fccf92e20f003473f1a32cf118d1c320d Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Mon, 14 Mar 2016 20:23:20 -0500 Subject: [PATCH] Fix indentation causing incorrect logical lines --- flake8/processor.py | 4 ++-- 1 file 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))