aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/server/process.py
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-12-14 21:05:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 10:04:18 +0000
commitf9961fd5beb31d5ab9656a5be59f7ab3effef2f0 (patch)
tree29fe62f44689f73cc011c35eada97be93f3a67f7 /lib/bb/server/process.py
parentf1cd6fab604f14d8686b1d783cbfe012d923ee42 (diff)
downloadbitbake-f9961fd5beb31d5ab9656a5be59f7ab3effef2f0.tar.gz
bitbake: remove True option to getVar calls (take 2)
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (a follow on patch to fix up a few recent introductions) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/server/process.py')
-rw-r--r--lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 1036366ab..c9dfb4fa2 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -103,7 +103,7 @@ class ProcessServer(Process, BaseImplServer):
self.event_queue.put(event)
self.event_handle.value = bb.event.register_UIHhandler(self, True)
- heartbeat_event = self.cooker.data.getVar('BB_HEARTBEAT_EVENT', True)
+ heartbeat_event = self.cooker.data.getVar('BB_HEARTBEAT_EVENT')
if heartbeat_event:
try:
self.heartbeat_seconds = float(heartbeat_event)