summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cache.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index cce12d12e9..439565f5a6 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -328,6 +328,13 @@ class Cache(object):
328 value = pickled.load() 328 value = pickled.load()
329 except Exception: 329 except Exception:
330 break 330 break
331 if not isinstance(key, str):
332 bb.warn("%s from extras cache is not a string?" % key)
333 break
334 if not isinstance(value, RecipeInfoCommon):
335 bb.warn("%s from extras cache is not a RecipeInfoCommon class?" % value)
336 break
337
331 if key in self.depends_cache: 338 if key in self.depends_cache:
332 self.depends_cache[key].append(value) 339 self.depends_cache[key].append(value)
333 else: 340 else: