should be "sys.exit(1)" ?