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 <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2010-12-01 16:59:04 +00:00 committed by Richard Purdie
parent fdd034d0e8
commit c538ef33aa
1 changed files with 1 additions and 1 deletions

View File

@ -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