diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cache.py | 2 |
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 | ||