diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-08 17:03:34 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-06-08 17:03:34 -0700 |
commit | 2b64afa107dc24db510d0001b6eb58f0d5913d2f (patch) | |
tree | 7455798f49f890a002f7db6ad52ae62cd9b947e9 /lib/bb/msg.py | |
parent | 36b980c16bf74b3c2066cc120f9f27e11f189a63 (diff) | |
download | bitbake-2b64afa107dc24db510d0001b6eb58f0d5913d2f.tar.gz |
Fix the silent exit when the specified task doesn't exist
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/msg.py')
-rw-r--r-- | lib/bb/msg.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py index 0d90f959d..cea5efb5a 100644 --- a/lib/bb/msg.py +++ b/lib/bb/msg.py @@ -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): |