Fix _setitem() to account for the change to serialize_eclasses = False.
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 07:37:00 +0000 (07:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 07:37:00 +0000 (07:37 -0000)
(trunk r12803)

svn path=/main/branches/2.1.6/; revision=13037

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],