__main__.py 145 B

12345678910
  1. import sys
  2. from . import main
  3. rc = 1
  4. try:
  5. main()
  6. rc = 0
  7. except Exception as e:
  8. print('Error: %s' % e, file=sys.stderr)
  9. sys.exit(rc)