From 5efc03bbe77171bf654ae917683e0d02d4ce3d63 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 1 Apr 2008 06:00:39 +0000 Subject: [PATCH] When identifying a sys-apps/portage node, compare category too (not just "portage". (trunk r9660) svn path=/main/branches/2.1.2/; revision=9661 --- bin/emerge | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.26.2