summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 1 insertions, 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