Commit b64e584c authored by John Zhang's avatar John Zhang

restoring the entry point.

parent a5e7fbbc
......@@ -15,15 +15,10 @@ def entry_point(argv):
except Exit, e:
return e.code
except ReturnException, e:
os.write(2, "ERROR: Caught ReturnException in entry_point. result: %s, target: %s\n" %
(e._result, e._target))
return 1
except Exception, e:
os.write(2, "ERROR: Exception thrown during execution: " + str(e) + "\n")
os.write(2, "ERROR: %s thrown during execution.\n" % e)
return 1
os.write(2, "ERROR: Program exited without raising the Exit exception.\n")
return 1
return 0
# _____ Define and setup target ___
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