]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix the silent exit when the specified task doesn't exist
authorChris Larson <chris_larson@mentor.com>
Wed, 9 Jun 2010 00:03:34 +0000 (17:03 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:35 +0000 (15:41 +0100)
(Bitbake rev: 2b64afa107dc24db510d0001b6eb58f0d5913d2f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/msg.py

index 0d90f959d3eda736675f25adeeb4c45972fcdedd..cea5efb5a401c4d821101273f0bbd0508ee21063 100644 (file)
@@ -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):