diff options
-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 0d90f959d..cea5efb5a 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/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): |