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