Skip to content

Commit 6f4c35e

Browse files
committed
__main__: fix refactoring error.
1 parent 8bdc7ba commit 6f4c35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonparser/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
print(root)
1414
print("elapsed: %.2f (%.2f kb/s)" % (interval, len(input)/interval/1000),
1515
file=sys.stderr)
16-
except diagnostic.DiagnosticException as e:
16+
except diagnostic.Error as e:
1717
print("\n".join(e.diagnostic.render()),
1818
file=sys.stderr)

0 commit comments

Comments
 (0)