From: Joshua Lock Date: Wed, 1 Dec 2010 16:59:04 +0000 (+0000) Subject: bitbake/cooker: fix idle command processing in servers X-Git-Tag: 2011-1~3570 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c538ef33aa008d40f1c9cd2ccf8ce4eeea08c8b2;p=openembedded-core.git bitbake/cooker: fix idle command processing in servers 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 --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 054dac8634..8c55e3e643 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