From: Chris Larson Date: Fri, 4 Jun 2010 23:44:07 +0000 (-0700) Subject: Adjust the exception handling based on Cliff Brake's patch X-Git-Tag: 2011-1~5489 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=04050117347ff2313245a6e47d4fcc5a2baf54a8;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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.""") 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