summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-28 08:52:32 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:37 +0000
commitc81cd1be64a6d8c725fc7323d040ed2fad41c826 (patch)
tree878db3ca9fa00af9df7d5145c80330085d3c91cc /bitbake/lib/bb/event.py
parent26eda933379801ef1c8b4b09e67d14f498cd3813 (diff)
downloadpoky-c81cd1be64a6d8c725fc7323d040ed2fad41c826.tar.gz
Fix syntax issue and don't include 'd' in ui_queue
(Bitbake rev: bed8e09971dc577f5443ad3d89aa14634c54eb16) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 = []