Commit 134af5de authored by Stefan Behnel's avatar Stefan Behnel

Py<=2.4 fix

parent 17804df1
...@@ -1151,6 +1151,8 @@ def main(): ...@@ -1151,6 +1151,8 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
try: try:
main() main()
except SystemExit: # <= Py2.4 ...
raise
except Exception: except Exception:
traceback.print_exc() traceback.print_exc()
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment