cache/template.__getitem__: filter INHERITED
authorZac Medico <zmedico@gentoo.org>
Sat, 29 Oct 2011 23:10:13 +0000 (16:10 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 29 Oct 2011 23:10:13 +0000 (16:10 -0700)
commit2c1ea6faef52448d0836f070997d5d20f0b53103
tree7572942aead5b8d685746030cca1256d89ef915f
parentfea1962b7e8df9a8568b009a8f52b3c8ade67043
cache/template.__getitem__: filter INHERITED

Never return INHERITED, since portdbapi.aux_get() will generate it
automatically from _eclasses_, and we want to omit it in comparisons
between cache entries like those that egencache uses to avoid redundant
writes (see commit 0e120da008c9d0d41c9372c81145c6e153028a6d).
pym/portage/cache/metadata.py
pym/portage/cache/template.py