summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 23:18:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 23:18:39 +0000
commit579ecccc2244da43b9bc03fb09bb71d8a0219a8b (patch)
tree7cdcf20018fe297e56da574f7744d76692d880c0
parent5c4e290899e3b9cafc544c488e20ddbc2065835a (diff)
downloadopenembedded-core-579ecccc2244da43b9bc03fb09bb71d8a0219a8b.tar.gz
openembedded-core-579ecccc2244da43b9bc03fb09bb71d8a0219a8b.tar.bz2
openembedded-core-579ecccc2244da43b9bc03fb09bb71d8a0219a8b.zip
bitbake/cooker: Ensure delays are accurately transfered to the idle loops from runqueue
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index e524db7498..825c357988 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -672,7 +672,7 @@ class BBCooker:
return False
if retval is True:
return True
- return 0.5
+ return retval
self.server.register_idle_function(buildFileIdle, rq)
@@ -709,7 +709,7 @@ class BBCooker:
return False
if retval is True:
return True
- return 0.5
+ return retval
self.buildSetVars()