1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00: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:
Chris Larson
2010-09-24 07:44:23 -07:00
committed by Richard Purdie
parent 3f40a2efe8
commit a964761283
+1 -1
View File
@@ -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, {})