summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
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 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, {})