Show More
@@ -644,7 +644,6 b' class TransformerManager:' | |||
|
644 | 644 | and tokens_by_line[-1][-1].type in newline_types: |
|
645 | 645 | tokens_by_line.pop() |
|
646 | 646 | |
|
647 | ||
|
648 | 647 | while tokens_by_line[-1] and tokens_by_line[-1][-1].type in newline_types: |
|
649 | 648 | tokens_by_line[-1].pop() |
|
650 | 649 | |
@@ -681,9 +680,6 b' class TransformerManager:' | |||
|
681 | 680 | return 'complete', None |
|
682 | 681 | return 'incomplete', find_last_indent(lines) |
|
683 | 682 | |
|
684 | if len(tokens_by_line[-1]) <= 1: | |
|
685 | return 'incomplete', find_last_indent(lines) | |
|
686 | ||
|
687 | 683 | # If there's a blank line at the end, assume we're ready to execute |
|
688 | 684 | if not lines[-1].strip(): |
|
689 | 685 | return 'complete', None |
General Comments 0
You need to be logged in to leave comments.
Login now