diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-08 17:03:34 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:35 +0100 |
commit | 3beecc66e9aeabc515ecf683089b2de6765d784e (patch) | |
tree | e38b718904c8d4fa4efe5e1496a4d4479177f153 | |
parent | 7e53a3b5cff3599753d0729a488eb393b341da32 (diff) | |
download | poky-3beecc66e9aeabc515ecf683089b2de6765d784e.tar.gz |
Fix the silent exit when the specified task doesn't exist
(Bitbake rev: 2b64afa107dc24db510d0001b6eb58f0d5913d2f)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/msg.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 0d90f959d3..cea5efb5a4 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
@@ -128,13 +128,11 @@ def warn(msgdomain, msg, fn = None): | |||
128 | 128 | ||
129 | def error(msgdomain, msg, fn = None): | 129 | def error(msgdomain, msg, fn = None): |
130 | bb.event.fire(MsgError(msg), None) | 130 | bb.event.fire(MsgError(msg), None) |
131 | if not bb.event._ui_handlers: | 131 | print 'ERROR: ' + msg |
132 | print('ERROR: ' + msg) | ||
133 | 132 | ||
134 | def fatal(msgdomain, msg, fn = None): | 133 | def fatal(msgdomain, msg, fn = None): |
135 | bb.event.fire(MsgFatal(msg), None) | 134 | bb.event.fire(MsgFatal(msg), None) |
136 | if not bb.event._ui_handlers: | 135 | print('FATAL: ' + msg) |
137 | print('FATAL: ' + msg) | ||
138 | sys.exit(1) | 136 | sys.exit(1) |
139 | 137 | ||
140 | def plain(msg, fn = None): | 138 | def plain(msg, fn = None): |