diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index c7252dd330..93c04ba21a 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -102,8 +102,7 @@ def print_ui_queue(): | |||
102 | console = logging.StreamHandler(sys.stdout) | 102 | console = logging.StreamHandler(sys.stdout) |
103 | console.setFormatter(BBLogFormatter("%(levelname)s: %(message)s")) | 103 | console.setFormatter(BBLogFormatter("%(levelname)s: %(message)s")) |
104 | logger.handlers = [console] | 104 | logger.handlers = [console] |
105 | while ui_queue: | 105 | for event in ui_queue: |
106 | event = ui_queue.pop() | ||
107 | if isinstance(event, logging.LogRecord): | 106 | if isinstance(event, logging.LogRecord): |
108 | logger.handle(event) | 107 | logger.handle(event) |
109 | 108 | ||