summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-24 07:50:26 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:37 +0000
commit30cef6bade179e88a439ec83ebb78bcc6d041c86 (patch)
treeefcae72a23c0f251905b89053ce51f4ca89bec80 /bitbake
parenta964761283f11523be8f80ee10011951a4d68fc0 (diff)
downloadopenembedded-core-30cef6bade179e88a439ec83ebb78bcc6d041c86.tar.gz
openembedded-core-30cef6bade179e88a439ec83ebb78bcc6d041c86.tar.bz2
openembedded-core-30cef6bade179e88a439ec83ebb78bcc6d041c86.zip
Fix another little bug with undefined var from cache
(Bitbake rev: f29ceb22b6a79ff62287a1eb398811fd81ec5c18) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-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 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