[poky] [PATCH 09/10] bitbake/cooker: fix idle command processing in servers
Joshua Lock
josh at linux.intel.com
Wed Dec 1 08:59:04 PST 2010
idle command processing in each of the servers does not handle an explicit
None return value, which means the goggle UI ends up repeatedly adding
"Tasks Summary:" rows to the list.
This patch modifies BBCooker.buildTargets.buildTargetsIdle to return False
when BuildCompleted is fired, as is done in BBCooker.buildFile.buildFileIdle.
It may be that the correct way to fix this is to change the idle command
processing in the servers.
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
bitbake/lib/bb/cooker.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 054dac8..8c55e3e 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -734,7 +734,7 @@ class BBCooker:
if not retval:
bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data)
self.command.finishAsyncCommand()
- return None
+ return False
if retval is True:
return True
return 0.5
--
1.7.3.2
More information about the poky
mailing list