_eclass_ happens to be missing from the cache data for some reason.
svn path=/main/trunk/; revision=11548
trg = None
try:
trg = trg_cache[x]
- if long(trg["_mtime_"]) == long(entry["_mtime_"]) and \
- eclass_cache.is_eclass_data_valid(trg["_eclasses_"]) and \
- set(trg["_eclasses_"]) == set(entry["_eclasses_"]):
- write_it = False
- except (cache_errors.CacheError, KeyError):
+ except KeyError:
pass
+ else:
+ try:
+ if long(trg["_mtime_"]) == long(entry["_mtime_"]) and \
+ eclass_cache.is_eclass_data_valid(trg["_eclasses_"]) and \
+ set(trg["_eclasses_"]) == set(entry["_eclasses_"]):
+ write_it = False
+ except cache_errors.CacheError:
+ pass
if trg and not write_it:
""" We don't want to skip the write unless we're really sure that