From a964761283f11523be8f80ee10011951a4d68fc0 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 24 Sep 2010 07:44:23 -0700 Subject: bb.cache: fix bug from last commit with loading from cache (Bitbake rev: 99c324fe7395a44da78403c615797104413503a5) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 7ec55bc1b..dc787daf0 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -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, {}) -- cgit v1.2.3