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:16:10 +0100 |
commit | bb939628ecbc8e794f214e4688f7621c80fed182 (patch) | |
tree | 095cafdb88a8c4caeb3d6a8183e4af2a8e953458 /bitbake | |
parent | 30911505901e7f96f3a3a3abb7b446c8bd483b97 (diff) | |
download | 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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 018b7442bf..64491ff7f7 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -99,7 +99,8 @@ def error(*args): | |||
99 | 99 | ||
100 | def fatal(*args): | 100 | def fatal(*args): |
101 | logger.critical(''.join(args)) | 101 | logger.critical(''.join(args)) |
102 | raise BBHandledException() | 102 | sys.exit(1) |
103 | |||
103 | 104 | ||
104 | def deprecated(func, name=None, advice=""): | 105 | def deprecated(func, name=None, advice=""): |
105 | """This is a decorator which can be used to mark functions | 106 | """This is a decorator which can be used to mark functions |