summaryrefslogtreecommitdiffstats
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)
downloadpoky-6c338660e8a5efec3baa30a23eeb9662b09a863d.tar.gz
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.""")
198 except Exception, e: 198 except Exception, e:
199 print "FATAL: Unable to start to '%s' UI: %s" % (ui, e) 199 print "FATAL: Unable to start to '%s' UI: %s" % (ui, e)
200 raise 200 raise
201 finally: 201
202 serverConnection.terminate() 202 serverConnection.terminate()
203 return return_value 203 return return_value
204 204
205if __name__ == "__main__": 205if __name__ == "__main__":
206 ret = main() 206 ret = main()