Fix _setitem() to account for the change to serialize_eclasses = False.
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Mar 2009 06:53:12 +0000 (06:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Mar 2009 06:53:12 +0000 (06:53 -0000)
svn path=/main/trunk/; revision=12803

pym/portage/cache/metadata.py

index 4f74b767d1f168170a6682c046c5eb4916d15bc1..5222223c6d0449dbeab98328d9180249667a1b57 100644 (file)
@@ -71,8 +71,7 @@ class database(flat_hash.database):
        def _setitem(self, cpv, values):
                if "_eclasses_" in values:
                        values = ProtectedDict(values)
-                       values["INHERITED"] = ' '.join(sorted(
-                               reconstruct_eclasses(cpv, values["_eclasses_"])))
+                       values["INHERITED"] = ' '.join(sorted(values["_eclasses_"]))
 
                s = cpv.rfind("/")
                fp = os.path.join(self.location,cpv[:s],