summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 91ec5dd0f..f87b7c3da 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3891,7 +3891,8 @@ class depgraph(object):
show_repos = True
verboseadd += teal("[%s]" % repoadd)
- xs = list(portage.pkgsplit(x[2]))
+ xs = [portage.cpv_getkey(pkg_key)] + \
+ list(portage.catpkgsplit(pkg_key)[2:])
if xs[2] == "r0":
xs[2] = ""
else: