From 9070e745c00600f909e58b4f7b99c5d32c8fdb30 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 19 Jul 2011 13:05:53 -0700 Subject: cache: fix remnant broken 'info' reference from recent cache changes (Bitbake rev: 807fb0b3bbad5163fdab24d379c2deba8f0b4f13) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/cache.py') diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 6e152fa0c9..bcadc275ec 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -541,7 +541,7 @@ class Cache(object): # If any one of the variants is not present, mark as invalid for all if invalid: - for cls in info.variants: + for cls in info_array[0].variants: virtualfn = self.realfn2virtual(fn, cls) if virtualfn in self.clean: logger.debug(2, "Cache: Removing %s from cache", virtualfn) -- cgit v1.2.3-54-g00ecf