From: Richard Purdie Date: Fri, 4 Oct 2013 13:16:15 +0000 (+0100) Subject: bin/bitbake: No need to show tracebacks for BBHandledExceptions X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ff5ec26eba70ab1c85674a60b7dac77317bf349;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bin/bitbake: No need to show tracebacks for BBHandledExceptions For BBHandledExceptions, we've already displaced a sensible error to the user so we don't need to do it again. Just exit with an error value. Signed-off-by: Richard Purdie --- diff --git a/bin/bitbake b/bin/bitbake index 21a6c8144a8..4d93a35cdc1 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -323,6 +323,8 @@ def main(): if __name__ == "__main__": try: ret = main() + except bb.BBHandledException: + ret = 1 except Exception: ret = 1 import traceback