From: Cliff Brake Date: Wed, 16 Jun 2010 00:29:54 +0000 (-0700) Subject: remove return in finally statement X-Git-Tag: 2011-1~5469 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6c338660e8a5efec3baa30a23eeb9662b09a863d;p=openembedded-core.git remove return in finally statement causes exceptions to not be handled after the finally statement (Bitbake rev: 1a04610dea376340b9ea4c109f64995b4fd6ad02) Signed-off-by: Cliff Brake Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 65739106be..c0eb713f55 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -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()