summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-16 12:11:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-20 08:31:28 +0000
commit9206614d79a91d92b1130dd028ea0cf3a4bee79f (patch)
tree516aae7097ba8f4de4da9198697814c04bd2cbbf /bitbake/lib/bb/cooker.py
parent3a4aeda0fa67ae4a2f8c79e83c734b45dde95543 (diff)
downloadpoky-9206614d79a91d92b1130dd028ea0cf3a4bee79f.tar.gz
bitbake: cache: Drop broken/unused code
Some parts of functions in Cache() were broken and unused, there was also a totally unused function. This was historical as a result of the cooker parsing process needing to handle cached entries in the main thread but parsing actions in seperate processes. Document the way it works, update the function name to be clear about what it now does and drop the old code which was unused. (Bitbake rev: af83ee32df85c8e4144f022a1f58493eb72cb18e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-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 1af29f217d..5a5ba7fb70 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -2287,8 +2287,8 @@ class CookerParser(object):
2287 2287
2288 def load_cached(self): 2288 def load_cached(self):
2289 for mc, cache, filename, appends in self.fromcache: 2289 for mc, cache, filename, appends in self.fromcache:
2290 cached, infos = cache.load(filename, appends) 2290 infos = cache.loadCached(filename, appends)
2291 yield not cached, mc, infos 2291 yield False, mc, infos
2292 2292
2293 def parse_generator(self): 2293 def parse_generator(self):
2294 empty = False 2294 empty = False