Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater...
authorZac Medico <zmedico@gentoo.org>
Wed, 28 Mar 2007 16:53:10 +0000 (16:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 28 Mar 2007 16:53:10 +0000 (16:53 -0000)
svn path=/main/trunk/; revision=6305

pym/emerge/__init__.py

index 8b4ff25ea7f53dea8c4da1177ead9389ff138b5d..6304f25f30f3c1910f4d18fb7a69c05a1a7bea2f 100644 (file)
@@ -1161,6 +1161,9 @@ class depgraph:
                        metadata = dict(izip(self._mydbapi_keys,
                                mydbapi.aux_get(mykey, self._mydbapi_keys)))
                        if merging == 0 and vardbapi.cpv_exists(mykey):
+                               mybigkey[0] = "installed"
+                               jbigkey = tuple(mybigkey)
+                               mydbapi = vardbapi
                                metadata["USE"] = vardbapi.aux_get(mykey, ["USE"])[0]
                                myuse = metadata["USE"].split()
                                metadata["SLOT"] = vardbapi.aux_get(mykey, ["SLOT"])[0]