From 30cef6bade179e88a439ec83ebb78bcc6d041c86 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 24 Sep 2010 07:50:26 -0700 Subject: Fix another little bug with undefined var from cache (Bitbake rev: f29ceb22b6a79ff62287a1eb398811fd81ec5c18) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index dc787daf0..c54ddc1d2 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -197,7 +197,7 @@ class Cache: multi = self.getVar('__VARIANTS', fn, True) for cls in (multi or "").split() + [""]: virtualfn = self.realfn2virtual(fn, cls) - if self.depends_cache[virtualfn]["__SKIPPED"]: + if self.depends_cache[virtualfn].get("__SKIPPED"): skipped += 1 logger.debug(1, "Skipping %s", virtualfn) continue -- cgit v1.2.3