1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

bitbake: Correctly route events from the worker to the server

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-08-20 12:25:19 +01:00
parent 9708f9cba7
commit 616e75523b
5 changed files with 24 additions and 8 deletions
+3 -1
View File
@@ -133,7 +133,9 @@ def error(msgdomain, msg, fn = None):
def fatal(msgdomain, msg, fn = None):
bb.event.fire(MsgFatal(msg), None)
print('FATAL: %s' % (msg))
if bb.event.useStdout:
print('FATAL: %s' % (msg))
sys.exit(1)
def plain(msg, fn = None):