summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/server/process.py2
-rw-r--r--bitbake/lib/bb/siggen.py2
-rw-r--r--bitbake/lib/bb/tests/data.py2
3 files changed, 3 insertions, 3 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)
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index b20b9cf771..659d27dfd2 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -101,7 +101,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
101 101
102 def _build_data(self, fn, d): 102 def _build_data(self, fn, d):
103 103
104 ignore_mismatch = ((d.getVar("BB_HASH_IGNORE_MISMATCH", True) or '') == '1') 104 ignore_mismatch = ((d.getVar("BB_HASH_IGNORE_MISMATCH") or '') == '1')
105 tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d) 105 tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d)
106 106
107 taskdeps = {} 107 taskdeps = {}
diff --git a/bitbake/lib/bb/tests/data.py b/bitbake/lib/bb/tests/data.py
index ba30d12806..0903ba7cc3 100644
--- a/bitbake/lib/bb/tests/data.py
+++ b/bitbake/lib/bb/tests/data.py
@@ -465,7 +465,7 @@ class Serialize(unittest.TestCase):
465 os.remove(tmpfilename) 465 os.remove(tmpfilename)
466 466
467 self.assertEqual(d, newd) 467 self.assertEqual(d, newd)
468 self.assertEqual(newd.getVar('HELLO', True), 'world') 468 self.assertEqual(newd.getVar('HELLO'), 'world')
469 self.assertEqual(newd.getVarFlag('HELLO', 'other'), 'planet') 469 self.assertEqual(newd.getVarFlag('HELLO', 'other'), 'planet')
470 470
471 471