summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index fb355089a3..5f292bccbc 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -86,14 +86,14 @@ def print_ui_queue():
86 console.setFormatter(logging.Formatter("%(levelname)s: %(message)s")) 86 console.setFormatter(logging.Formatter("%(levelname)s: %(message)s"))
87 logger.handlers = [console] 87 logger.handlers = [console]
88 while ui_queue: 88 while ui_queue:
89 event, d = ui_queue.pop() 89 event = ui_queue.pop()
90 if isinstance(event, logging.LogRecord): 90 if isinstance(event, logging.LogRecord):
91 logger.handle(event) 91 logger.handle(event)
92 92
93def fire_ui_handlers(event, d): 93def fire_ui_handlers(event, d):
94 if not _ui_handlers: 94 if not _ui_handlers:
95 # No UI handlers registered yet, queue up the messages 95 # No UI handlers registered yet, queue up the messages
96 ui_queue.append((event, d)) 96 ui_queue.append(event)
97 return 97 return
98 98
99 errors = [] 99 errors = []