From: Zac Medico Date: Sun, 30 Mar 2008 06:57:12 +0000 (-0000) Subject: Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. X-Git-Tag: v2.2_pre6~297 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3204769c6686890b7b7295a7dd91c97ecb73f39;p=portage.git Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. svn path=/main/trunk/; revision=9623 --- 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: