summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
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/lib/bb/cache.py
parenta964761283f11523be8f80ee10011951a4d68fc0 (diff)
downloadpoky-30cef6bade179e88a439ec83ebb78bcc6d041c86.tar.gz
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/lib/bb/cache.py')
-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:
197 multi = self.getVar('__VARIANTS', fn, True) 197 multi = self.getVar('__VARIANTS', fn, True)
198 for cls in (multi or "").split() + [""]: 198 for cls in (multi or "").split() + [""]:
199 virtualfn = self.realfn2virtual(fn, cls) 199 virtualfn = self.realfn2virtual(fn, cls)
200 if self.depends_cache[virtualfn]["__SKIPPED"]: 200 if self.depends_cache[virtualfn].get("__SKIPPED"):
201 skipped += 1 201 skipped += 1
202 logger.debug(1, "Skipping %s", virtualfn) 202 logger.debug(1, "Skipping %s", virtualfn)
203 continue 203 continue