diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 12:54:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 14:50:27 +0000 |
commit | fb9c5a196eda01801a922aceab21e54d41f53a6a (patch) | |
tree | 944200e06547f68b83d9400a7418fd48b7a03d00 /bitbake/lib/bb/event.py | |
parent | af6480bdde2e2e3709d219f9ca43d7c0938314b6 (diff) | |
download | poky-fb9c5a196eda01801a922aceab21e54d41f53a6a.tar.gz |
bitbake: event/build: Drop stdout specific handling for python messages as this is no longer needed with newer log handling
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index bd2042a99c..3467ddd613 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -36,7 +36,6 @@ import bb.utils | |||
36 | # the runqueue forks off. | 36 | # the runqueue forks off. |
37 | worker_pid = 0 | 37 | worker_pid = 0 |
38 | worker_pipe = None | 38 | worker_pipe = None |
39 | useStdout = True | ||
40 | 39 | ||
41 | class Event(object): | 40 | class Event(object): |
42 | """Base class for events""" | 41 | """Base class for events""" |
@@ -162,7 +161,6 @@ def remove(name, handler): | |||
162 | def register_UIHhandler(handler): | 161 | def register_UIHhandler(handler): |
163 | bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1 | 162 | bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1 |
164 | _ui_handlers[_ui_handler_seq] = handler | 163 | _ui_handlers[_ui_handler_seq] = handler |
165 | bb.event.useStdout = False | ||
166 | return _ui_handler_seq | 164 | return _ui_handler_seq |
167 | 165 | ||
168 | def unregister_UIHhandler(handlerNum): | 166 | def unregister_UIHhandler(handlerNum): |
@@ -382,8 +380,6 @@ class LogHandler(logging.Handler): | |||
382 | 380 | ||
383 | def emit(self, record): | 381 | def emit(self, record): |
384 | fire(record, None) | 382 | fire(record, None) |
385 | if bb.event.useStdout: | ||
386 | print(self.format(record)) | ||
387 | 383 | ||
388 | def filter(self, record): | 384 | def filter(self, record): |
389 | record.taskpid = worker_pid | 385 | record.taskpid = worker_pid |