mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
bb.cache: fix bug from last commit with loading from cache
(Bitbake rev: 99c324fe7395a44da78403c615797104413503a5) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
3f40a2efe8
commit
a964761283
@@ -107,7 +107,7 @@ class Cache:
|
||||
backend but add a copy of the data to the cache.
|
||||
"""
|
||||
if fn in self.clean:
|
||||
return self.depends_cache[fn][var]
|
||||
return self.depends_cache[fn].get(var)
|
||||
|
||||
self.depends_cache.setdefault(fn, {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user