Moved try/except inside main function
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 21 Aug 2013 08:23:57 +0000 (11:23 +0300)
committerHasan Wan <hasan.wan@intel.com>
Wed, 21 Aug 2013 12:32:17 +0000 (05:32 -0700)
commitab9633f2b5904b5cd57354cf1d47cd8e1dcb5a8d
treedadfe6b7eefbeada8fa6fb4cf594b839c9044a9b
parentcce1e2e73992ede7d58fa02158016021aa23c2ac
Moved try/except inside main function

As main is called through the entry point exception catching should be
inside it. Otherwise even local exception produce tracebacks.

Change-Id: I7845e034a17e81be7f21499bdbdc9e9ea47038bf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6034
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
repa/main.py