summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2010-06-15 17:29:54 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:36 +0100
commit6c338660e8a5efec3baa30a23eeb9662b09a863d (patch)
treee5d972f2b694e92d9f32d06e0153a9fca26fe4ec /bitbake
parent39f6ec5f63ffe1c5fa5d2cc8f61b9585ab0688d9 (diff)
downloadopenembedded-core-6c338660e8a5efec3baa30a23eeb9662b09a863d.tar.gz
openembedded-core-6c338660e8a5efec3baa30a23eeb9662b09a863d.tar.bz2
openembedded-core-6c338660e8a5efec3baa30a23eeb9662b09a863d.zip
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>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake6
1 files changed, 3 insertions, 3 deletions
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()