From 666e1c2b06151b7f6f2d290d82aa38b13bafb033 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Tue, 15 Mar 2016 12:27:05 -0500 Subject: [PATCH] Ensure the logical line is tracked on the processor --- flake8/processor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake8/processor.py b/flake8/processor.py index 9ad7751..d75256b 100644 --- a/flake8/processor.py +++ b/flake8/processor.py @@ -175,7 +175,8 @@ class FileProcessor(object): def build_logical_line(self): """Build a logical line from the current tokens list.""" comments, logical, mapping_list = self.build_logical_line_tokens() - return ''.join(comments), ''.join(logical), mapping_list + self.logical_line = ''.join(logical) + return ''.join(comments), self.logical_line, mapping_list def split_line(self, token): """Split a physical line's line based on new-lines.