[Bitbake-dev] [PATCH] remove return in finally statement
Cliff Brake
cliff.brake at gmail.com
Tue Jun 15 23:29:54 CEST 2010
From: Cliff Brake <cbrake at bec-systems.com>
causes exceptions to not be handled after the finally statement
Signed-off-by: Cliff Brake <cbrake at bec-systems.com>
---
bin/bitbake | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/bitbake b/bin/bitbake
index a6ac45d..e824ad2 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -195,9 +195,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()
--
1.7.0.4
More information about the bitbake-devel
mailing list