diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index c5a5f94dee..6f1cb101fc 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -139,7 +139,7 @@ def print_ui_queue(): | |||
139 | 139 | ||
140 | # First check to see if we have any proper messages | 140 | # First check to see if we have any proper messages |
141 | msgprint = False | 141 | msgprint = False |
142 | for event in ui_queue: | 142 | for event in ui_queue[:]: |
143 | if isinstance(event, logging.LogRecord): | 143 | if isinstance(event, logging.LogRecord): |
144 | if event.levelno > logging.DEBUG: | 144 | if event.levelno > logging.DEBUG: |
145 | if event.levelno >= logging.WARNING: | 145 | if event.levelno >= logging.WARNING: |
@@ -153,7 +153,7 @@ def print_ui_queue(): | |||
153 | 153 | ||
154 | # Nope, so just print all of the messages we have (including debug messages) | 154 | # Nope, so just print all of the messages we have (including debug messages) |
155 | logger.addHandler(stdout) | 155 | logger.addHandler(stdout) |
156 | for event in ui_queue: | 156 | for event in ui_queue[:]: |
157 | if isinstance(event, logging.LogRecord): | 157 | if isinstance(event, logging.LogRecord): |
158 | logger.handle(event) | 158 | logger.handle(event) |
159 | 159 | ||