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:
Cliff Brake 2010-06-15 17:29:54 -07:00 committed by Richard Purdie
parent 39f6ec5f63
commit 6c338660e8
1 changed files with 3 additions and 3 deletions

View File

@ -198,9 +198,9 @@ Default BBFILES are the .bb files in the current directory.""")
except Exception, e:
print "FATAL: Unable to start to '%s' UI: %s" % (ui, e)
raise
finally:
serverConnection.terminate()
return return_value
serverConnection.terminate()
return return_value
if __name__ == "__main__":
ret = main()