From f3204769c6686890b7b7295a7dd91c97ecb73f39 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Mar 2008 06:57:12 +0000 Subject: [PATCH] Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. svn path=/main/trunk/; revision=9623 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.26.2