[Toaster] [PATCH v6 41/41] toasterui: fix warning 'Unknown event'
Ed Bartosh
ed.bartosh at linux.intel.com
Wed Mar 23 01:15:32 PDT 2016
Fixed this warning:
WARNING: Unknown event: <bb.event.TargetsAcquired object at 0x7f95b8753d50>
by ensuring that code continues the main event loop
after processing TargetsAcquired event.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
bitbake/lib/bb/ui/toasterui.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py
index c4fce63..ea68e68 100644
--- a/bitbake/lib/bb/ui/toasterui.py
+++ b/bitbake/lib/bb/ui/toasterui.py
@@ -253,10 +253,10 @@ def main(server, eventHandler, params):
buildinfohelper.store_targets(targets)
- # when the build proper starts, we extract information about
- # any layers and config data
- if build_started:
- buildinfohelper.update_build(event)
+ # when the build proper starts, we extract information about
+ # any layers and config data
+ if build_started:
+ buildinfohelper.update_build(event)
continue
if isinstance(event, (bb.build.TaskStarted, bb.build.TaskSucceeded, bb.build.TaskFailedSilent)):
--
2.1.4
More information about the toaster
mailing list