From: Zac Medico Date: Wed, 28 Mar 2007 16:53:10 +0000 (-0000) Subject: Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater... X-Git-Tag: v2.2_pre1~1526 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b0377ffffec6e224085183e72c1f30b7680d49c;p=portage.git Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater consistency in the depgraph. svn path=/main/trunk/; revision=6305 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 8b4ff25ea..6304f25f3 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -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]