From: Richard Purdie Date: Fri, 4 Oct 2013 13:16:15 +0000 (+0100) Subject: bitbake: bin/bitbake: No need to show tracebacks for BBHandledExceptions X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=266a7d8c974e7f2b39e759ec1d89b5895795933c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: 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. (Bitbake rev: 1ff5ec26eba70ab1c85674a60b7dac77317bf349) Signed-off-by: Richard Purdie --- diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 21a6c8144a8..4d93a35cdc1 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/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