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