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:
parent
7e53a3b5cf
commit
3beecc66e9
|
@ -128,13 +128,11 @@ def warn(msgdomain, msg, fn = None):
|
|||
|
||||
def error(msgdomain, msg, fn = 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):
|
||||
bb.event.fire(MsgFatal(msg), None)
|
||||
if not bb.event._ui_handlers:
|
||||
print('FATAL: ' + msg)
|
||||
print('FATAL: ' + msg)
|
||||
sys.exit(1)
|
||||
|
||||
def plain(msg, fn = None):
|
||||
|
|
Loading…
Reference in New Issue