diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-20 12:25:19 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-20 12:26:19 +0100 |
| commit | 616e75523b0b1bbe730631dba70224b55cfaaa57 (patch) | |
| tree | 2fd396d58386217135976c1747ddfde94b84e9f8 /bitbake/lib/bb/msg.py | |
| parent | 9708f9cba7923fa0b5a620e032ab3d9e085385a7 (diff) | |
| download | poky-616e75523b0b1bbe730631dba70224b55cfaaa57.tar.gz | |
bitbake: Correctly route events from the worker to the server
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
| -rw-r--r-- | bitbake/lib/bb/msg.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 5bb30e8dd3..21692d930d 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
| @@ -133,7 +133,9 @@ def error(msgdomain, msg, fn = None): | |||
| 133 | 133 | ||
| 134 | def fatal(msgdomain, msg, fn = None): | 134 | def fatal(msgdomain, msg, fn = None): |
| 135 | bb.event.fire(MsgFatal(msg), None) | 135 | bb.event.fire(MsgFatal(msg), None) |
| 136 | print('FATAL: %s' % (msg)) | 136 | |
| 137 | if bb.event.useStdout: | ||
| 138 | print('FATAL: %s' % (msg)) | ||
| 137 | sys.exit(1) | 139 | sys.exit(1) |
| 138 | 140 | ||
| 139 | def plain(msg, fn = None): | 141 | def plain(msg, fn = None): |
