diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:05:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:24 +0000 |
commit | 97f83e911ebb2c9d1af5de55a94c994dced39d82 (patch) | |
tree | 30250766cb973694675fd0677945db168e35765f /bitbake/lib/bb/server | |
parent | 1969854ec30188940a185ca19fb7c3df81cf8692 (diff) | |
download | poky-97f83e911ebb2c9d1af5de55a94c994dced39d82.tar.gz |
bitbake: 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)
(Bitbake rev: f9961fd5beb31d5ab9656a5be59f7ab3effef2f0)
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 'bitbake/lib/bb/server')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 1036366abb..c9dfb4fa23 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -103,7 +103,7 @@ class ProcessServer(Process, BaseImplServer): | |||
103 | self.event_queue.put(event) | 103 | self.event_queue.put(event) |
104 | self.event_handle.value = bb.event.register_UIHhandler(self, True) | 104 | self.event_handle.value = bb.event.register_UIHhandler(self, True) |
105 | 105 | ||
106 | heartbeat_event = self.cooker.data.getVar('BB_HEARTBEAT_EVENT', True) | 106 | heartbeat_event = self.cooker.data.getVar('BB_HEARTBEAT_EVENT') |
107 | if heartbeat_event: | 107 | if heartbeat_event: |
108 | try: | 108 | try: |
109 | self.heartbeat_seconds = float(heartbeat_event) | 109 | self.heartbeat_seconds = float(heartbeat_event) |