Show More
@@ -636,7 +636,7 b' class TransformerManager:' | |||||
636 | MemoryError, SyntaxWarning): |
|
636 | MemoryError, SyntaxWarning): | |
637 | return 'invalid', None |
|
637 | return 'invalid', None | |
638 | else: |
|
638 | else: | |
639 | if res is None: |
|
639 | if not lines[-1].strip().endswith(':'): | |
640 | return 'incomplete', find_last_indent(lines) |
|
640 | return 'incomplete', find_last_indent(lines) | |
641 | return 'complete', None |
|
641 | return 'complete', None | |
642 |
|
642 |
General Comments 0
You need to be logged in to leave comments.
Login now