svn path=/main/branches/2.1.6/; revision=13525
else:
inherited = inherited.split()
- if inherited:
- if tree_data.src_db.complete_eclass_entries and \
- eclasses is None:
- noise.corruption(cpv, "missing _eclasses_ field")
- continue
+ if tree_data.src_db.complete_eclass_entries and \
+ eclasses is None:
+ noise.corruption(cpv, "missing _eclasses_ field")
+ continue
+ if inherited:
# Even if _eclasses_ already exists, replace it with data from
# eclass_cache, in order to insert local eclass paths.
try:
noise.eclass_stale(cpv)
continue
src['_eclasses_'] = eclasses
+ else:
+ src['_eclasses_'] = {}
if not eapi_supported:
src = {