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 /bitbake/bin | |
parent | 6ab1dbbb7c9c9692c9643451d5f88c078b95e418 (diff) | |
download | openembedded-core-04050117347ff2313245a6e47d4fcc5a2baf54a8.tar.gz openembedded-core-04050117347ff2313245a6e47d4fcc5a2baf54a8.tar.bz2 openembedded-core-04050117347ff2313245a6e47d4fcc5a2baf54a8.tar.xz openembedded-core-04050117347ff2313245a6e47d4fcc5a2baf54a8.zip |
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>
Diffstat (limited to 'bitbake/bin')
-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 788096896..600cdadc9 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -206,7 +206,8 @@ Default BBFILES are the .bb files in the current directory.""") print "FATAL: Invalid user interface '%s' specified. " % ui print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." except Exception, e: - print "FATAL: Unable to start to '%s' UI due to exception: %s." % (configuration.ui, e) + print "FATAL: Unable to start to '%s' UI: %s" % (configuration.ui, e) + raise finally: serverConnection.terminate() return return_value |