From: Zac Medico Date: Tue, 1 Apr 2008 06:00:39 +0000 (-0000) Subject: When identifying a sys-apps/portage node, compare category too (not just X-Git-Tag: v2.1.5~267 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5efc03bbe77171bf654ae917683e0d02d4ce3d63;p=portage.git When identifying a sys-apps/portage node, compare category too (not just "portage". (trunk r9660) svn path=/main/branches/2.1.2/; revision=9661 --- diff --git a/bin/emerge b/bin/emerge index 543309d4f..46893f11f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2804,8 +2804,7 @@ class depgraph: get_nodes = mygraph.leaf_nodes for node in mygraph.order: if node.root == "/" and \ - "portage" == portage.catsplit( - portage.cpv_getkey(node.cpv))[-1]: + "sys-apps/portage" == portage.cpv_getkey(node.cpv): portage_node = node asap_nodes.append(node) break