From: Chris Larson Date: Fri, 24 Sep 2010 14:50:26 +0000 (-0700) Subject: Fix another little bug with undefined var from cache X-Git-Tag: 2011-1~3152 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=30cef6bade179e88a439ec83ebb78bcc6d041c86;p=openembedded-core.git Fix another little bug with undefined var from cache (Bitbake rev: f29ceb22b6a79ff62287a1eb398811fd81ec5c18) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index dc787daf06..c54ddc1d20 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