diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-17 19:15:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-17 19:15:26 +0100 |
commit | 4aff249ff51aa9fab05d3b65a78016e779af775c (patch) | |
tree | e1902ea118767516c167d70562c88ea51fe6c8de | |
parent | a50017ba71250e1710a6425b60ac7e3f03d88295 (diff) | |
download | bitbake-4aff249ff51aa9fab05d3b65a78016e779af775c.tar.gz |
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.
-rw-r--r-- | lib/bb/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py index 018b7442b..64491ff7f 100644 --- a/lib/bb/__init__.py +++ b/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 |