summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-17 23:40:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-17 23:40:04 +0000
commita5be64b4d14817f6ee685829b827e884fd28a7b8 (patch)
tree418843ec40af885435b75ec733a33da767f4225b
parente46bcee18c36af3cdda058c7a074e2612087b78f (diff)
downloadportage-a5be64b4d14817f6ee685829b827e884fd28a7b8.tar.gz
portage-a5be64b4d14817f6ee685829b827e884fd28a7b8.tar.bz2
portage-a5be64b4d14817f6ee685829b827e884fd28a7b8.zip
Store the _eclasses_ field instead of INHERITED.
svn path=/main/trunk/; revision=11986
-rw-r--r--pym/portage/cache/metadata.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pym/portage/cache/metadata.py b/pym/portage/cache/metadata.py
index 7951e0302..1c65ee8be 100644
--- a/pym/portage/cache/metadata.py
+++ b/pym/portage/cache/metadata.py
@@ -78,12 +78,4 @@ class database(flat_hash.database):
def _setitem(self, cpv, values):
- values = ProtectedDict(values)
-
- # hack. proper solution is to make this a __setitem__ override, since template.__setitem__
- # serializes _eclasses_, then we reconstruct it.
- if "_eclasses_" in values:
- values["INHERITED"] = ' '.join(reconstruct_eclasses(cpv, values["_eclasses_"]).keys())
- del values["_eclasses_"]
-
flat_hash.database._setitem(self, cpv, values)