remove return in finally statement
causes exceptions to not be handled after the finally statement (Bitbake rev: 1a04610dea376340b9ea4c109f64995b4fd6ad02) Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
39f6ec5f63
commit
6c338660e8
|
@ -198,9 +198,9 @@ Default BBFILES are the .bb files in the current directory.""")
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print "FATAL: Unable to start to '%s' UI: %s" % (ui, e)
|
print "FATAL: Unable to start to '%s' UI: %s" % (ui, e)
|
||||||
raise
|
raise
|
||||||
finally:
|
|
||||||
serverConnection.terminate()
|
serverConnection.terminate()
|
||||||
return return_value
|
return return_value
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
ret = main()
|
ret = main()
|
||||||
|
|
Loading…
Reference in New Issue