diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-28 14:27:34 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-29 10:59:53 +0100 |
commit | 47e2dbd89a92faca3e188d509c5629c59feca770 (patch) | |
tree | 5054f39a643c096cdf5e6d4381d922bb11318247 /bitbake/lib/bb/main.py | |
parent | 74dc93651f9a04c1cf0160c05357f0a36aa9c5d4 (diff) | |
download | poky-47e2dbd89a92faca3e188d509c5629c59feca770.tar.gz |
bitbake: bitbake: Handle BBMainException
Some error messages were lost because BBMainException was
inherited from bb.BBHandledException. When bb.BBHandledException
is processed error messages are not printed as they suppose to
be printed before raising this exception.
Stopped to inherit BBMainException from bb.BBHandledException.
Handled BBMainException in bin/bitbake and printed error message
to the stderr.
(Bitbake rev: c8e2a40c4e9865ebef9936d23644f2602a5c90f5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index af067f7379..2019d5014b 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -39,7 +39,7 @@ from bb import cookerdata | |||
39 | __version__ = "1.27.0" | 39 | __version__ = "1.27.0" |
40 | logger = logging.getLogger("BitBake") | 40 | logger = logging.getLogger("BitBake") |
41 | 41 | ||
42 | class BBMainException(bb.BBHandledException): | 42 | class BBMainException(Exception): |
43 | pass | 43 | pass |
44 | 44 | ||
45 | def get_ui(config): | 45 | def get_ui(config): |