From 5d358300b0407c35156e3e59dc6d720461959b67 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 1 Apr 2008 05:59:57 +0000 Subject: [PATCH] When identifying a sys-apps/portage node, compare category too (not just "portage". svn path=/main/trunk/; revision=9660 --- pym/_emerge/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 166ea1cb6..dbfebe169 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3155,8 +3155,7 @@ class depgraph(object): 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