diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-04 16:44:07 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:35 +0100 |
commit | 04050117347ff2313245a6e47d4fcc5a2baf54a8 (patch) | |
tree | 06e1f14d565c0788d3f21c5477f65a5ef0faf147 | |
parent | 6ab1dbbb7c9c9692c9643451d5f88c078b95e418 (diff) | |
download | poky-04050117347ff2313245a6e47d4fcc5a2baf54a8.tar.gz |
Adjust the exception handling based on Cliff Brake's patch
Rather than printing the exception ourselves, might as well re-raise and let
the default exception handler do it for us.
(Bitbake rev: acca7eb8450cbe30d65b5b266f1a642e7965df8a)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-x | bitbake/bin/bitbake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 7880968965..600cdadc9d 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -206,7 +206,8 @@ Default BBFILES are the .bb files in the current directory.""") | |||
206 | print "FATAL: Invalid user interface '%s' specified. " % ui | 206 | print "FATAL: Invalid user interface '%s' specified. " % ui |
207 | print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." | 207 | print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." |
208 | except Exception, e: | 208 | except Exception, e: |
209 | print "FATAL: Unable to start to '%s' UI due to exception: %s." % (configuration.ui, e) | 209 | print "FATAL: Unable to start to '%s' UI: %s" % (configuration.ui, e) |
210 | raise | ||
210 | finally: | 211 | finally: |
211 | serverConnection.terminate() | 212 | serverConnection.terminate() |
212 | return return_value | 213 | return return_value |