diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-12-01 16:59:04 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-09 12:41:44 +0000 |
commit | c538ef33aa008d40f1c9cd2ccf8ce4eeea08c8b2 (patch) | |
tree | 0a05185c1d3641a27e9d2316d5563433257c9c8e /bitbake | |
parent | fdd034d0e81303f941f5578306b5661f1793c50f (diff) | |
download | poky-c538ef33aa008d40f1c9cd2ccf8ce4eeea08c8b2.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | 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 054dac8634..8c55e3e643 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -734,7 +734,7 @@ class BBCooker: | |||
734 | if not retval: | 734 | if not retval: |
735 | bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) | 735 | bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) |
736 | self.command.finishAsyncCommand() | 736 | self.command.finishAsyncCommand() |
737 | return None | 737 | return False |
738 | if retval is True: | 738 | if retval is True: |
739 | return True | 739 | return True |
740 | return 0.5 | 740 | return 0.5 |