summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-12-02 12:05:51 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:46 +0000
commit7481c11e34d177ef54b537ca477df88ee40e5602 (patch)
treef55b3ed24595a87f16a712cec1bbf40db8da27de
parentc4e07bc0338a3c51cc811c7c837daf9b93772e5f (diff)
downloadpoky-7481c11e34d177ef54b537ca477df88ee40e5602.tar.gz
Don't show a traceback for a python version error
(Bitbake rev: 44c325306e55336b7b416fd88b39874012a3f603) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xbitbake/bin/bitbake5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 5338868425..8212130683 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -30,7 +30,10 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
30import optparse 30import optparse
31import warnings 31import warnings
32from traceback import format_exception 32from traceback import format_exception
33import bb 33try:
34 import bb
35except RuntimeError, exc:
36 sys.exit(str(exc))
34from bb import event 37from bb import event
35import bb.msg 38import bb.msg
36from bb import cooker 39from bb import cooker