summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 19:15:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 19:16:10 +0100
commitbb939628ecbc8e794f214e4688f7621c80fed182 (patch)
tree095cafdb88a8c4caeb3d6a8183e4af2a8e953458
parent30911505901e7f96f3a3a3abb7b446c8bd483b97 (diff)
downloadast2050-yocto-poky-bb939628ecbc8e794f214e4688f7621c80fed182.zip
ast2050-yocto-poky-bb939628ecbc8e794f214e4688f7621c80fed182.tar.gz
bitbake: Revert "bb.fatal: Raise a BBHandledException instead of exiting"
Sanity test failures are no longer fatal with this change so whilst its the right idea, the code paths need more work. This reverts commit a50017ba71250e1710a6425b60ac7e3f03d88295. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index 018b744..64491ff 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -99,7 +99,8 @@ def error(*args):
def fatal(*args):
logger.critical(''.join(args))
- raise BBHandledException()
+ sys.exit(1)
+
def deprecated(func, name=None, advice=""):
"""This is a decorator which can be used to mark functions
OpenPOWER on IntegriCloud