diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-30 06:57:12 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-30 06:57:12 +0000 |
commit | f3204769c6686890b7b7295a7dd91c97ecb73f39 (patch) | |
tree | 05b8119a59a4e4af490ca377a2f1ed2f93c70730 | |
parent | 42a51c2c73649cf2c120ea57549cdf290ff92bd0 (diff) | |
download | portage-f3204769c6686890b7b7295a7dd91c97ecb73f39.tar.gz portage-f3204769c6686890b7b7295a7dd91c97ecb73f39.tar.bz2 portage-f3204769c6686890b7b7295a7dd91c97ecb73f39.zip |
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.
svn path=/main/trunk/; revision=9623
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
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: |