summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/event.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 526c41f562..52072b5805 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -173,6 +173,10 @@ def print_ui_queue():
173 for event in ui_queue[:]: 173 for event in ui_queue[:]:
174 if isinstance(event, logging.LogRecord): 174 if isinstance(event, logging.LogRecord):
175 logger.handle(event) 175 logger.handle(event)
176 if msgerrs:
177 logger.removeHandler(stderr)
178 else:
179 logger.removeHandler(stdout)
176 180
177def fire_ui_handlers(event, d): 181def fire_ui_handlers(event, d):
178 global _thread_lock 182 global _thread_lock