Show More
@@ -631,7 +631,7 b' class TransformerManager:' | |||||
631 | try: |
|
631 | try: | |
632 | with warnings.catch_warnings(): |
|
632 | with warnings.catch_warnings(): | |
633 | warnings.simplefilter('error', SyntaxWarning) |
|
633 | warnings.simplefilter('error', SyntaxWarning) | |
634 |
|
|
634 | compile_command(''.join(lines), symbol='exec') | |
635 | except (SyntaxError, OverflowError, ValueError, TypeError, |
|
635 | except (SyntaxError, OverflowError, ValueError, TypeError, | |
636 | MemoryError, SyntaxWarning): |
|
636 | MemoryError, SyntaxWarning): | |
637 | return 'invalid', None |
|
637 | return 'invalid', None |
General Comments 0
You need to be logged in to leave comments.
Login now