mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
@@ -2287,8 +2287,8 @@ class CookerParser(object):
|
||||
|
||||
def load_cached(self):
|
||||
for mc, cache, filename, appends in self.fromcache:
|
||||
cached, infos = cache.load(filename, appends)
|
||||
yield not cached, mc, infos
|
||||
infos = cache.loadCached(filename, appends)
|
||||
yield False, mc, infos
|
||||
|
||||
def parse_generator(self):
|
||||
empty = False
|
||||
|
||||
Reference in New Issue
Block a user