summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-24 07:44:23 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:36 +0000
commita964761283f11523be8f80ee10011951a4d68fc0 (patch)
treec81866377b5854e980a2e78c6c5dbdb99dc3ef2b /bitbake/lib/bb
parent3f40a2efe835ba6c6660485f11d0460332d401d1 (diff)
downloadpoky-a964761283f11523be8f80ee10011951a4d68fc0.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 7ec55bc1be..dc787daf06 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -107,7 +107,7 @@ class Cache:
107 backend but add a copy of the data to the cache. 107 backend but add a copy of the data to the cache.
108 """ 108 """
109 if fn in self.clean: 109 if fn in self.clean:
110 return self.depends_cache[fn][var] 110 return self.depends_cache[fn].get(var)
111 111
112 self.depends_cache.setdefault(fn, {}) 112 self.depends_cache.setdefault(fn, {})
113 113