mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Ensure the logical line is tracked on the processor
This commit is contained in:
parent
19062c5e9c
commit
666e1c2b06
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue