mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7e53a3b5cf
commit
3beecc66e9
@@ -128,12 +128,10 @@ def warn(msgdomain, msg, fn = None):
|
|||||||
|
|
||||||
def error(msgdomain, msg, fn = None):
|
def error(msgdomain, msg, fn = None):
|
||||||
bb.event.fire(MsgError(msg), None)
|
bb.event.fire(MsgError(msg), None)
|
||||||
if not bb.event._ui_handlers:
|
print 'ERROR: ' + msg
|
||||||
print('ERROR: ' + msg)
|
|
||||||
|
|
||||||
def fatal(msgdomain, msg, fn = None):
|
def fatal(msgdomain, msg, fn = None):
|
||||||
bb.event.fire(MsgFatal(msg), None)
|
bb.event.fire(MsgFatal(msg), None)
|
||||||
if not bb.event._ui_handlers:
|
|
||||||
print('FATAL: ' + msg)
|
print('FATAL: ' + msg)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user