cache: fix remnant broken 'info' reference from recent cache changes

(Bitbake rev: 807fb0b3bbad5163fdab24d379c2deba8f0b4f13)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson 2011-07-19 13:05:53 -07:00 committed by Richard Purdie
parent 7170fe0f08
commit 9070e745c0
1 changed files with 1 additions and 1 deletions

View File

@ -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)