summaryrefslogtreecommitdiff
path: root/bitbake
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
parent3f40a2efe835ba6c6660485f11d0460332d401d1 (diff)
downloadopenembedded-core-a964761283f11523be8f80ee10011951a4d68fc0.tar.gz
openembedded-core-a964761283f11523be8f80ee10011951a4d68fc0.tar.bz2
openembedded-core-a964761283f11523be8f80ee10011951a4d68fc0.tar.xz
openembedded-core-a964761283f11523be8f80ee10011951a4d68fc0.zip
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')
-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 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, {})