1 |
Author: zmedico |
2 |
Date: 2008-03-30 06:57:33 +0000 (Sun, 30 Mar 2008) |
3 |
New Revision: 9624 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.2/bin/emerge |
7 |
Log: |
8 |
Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv. |
9 |
(trunk r9623) |
10 |
|
11 |
|
12 |
Modified: main/branches/2.1.2/bin/emerge |
13 |
=================================================================== |
14 |
--- main/branches/2.1.2/bin/emerge 2008-03-30 06:57:12 UTC (rev 9623) |
15 |
+++ main/branches/2.1.2/bin/emerge 2008-03-30 06:57:33 UTC (rev 9624) |
16 |
@@ -3579,7 +3579,8 @@ |
17 |
show_repos = True |
18 |
verboseadd += teal("[%s]" % repoadd) |
19 |
|
20 |
- xs = list(portage.pkgsplit(x[2])) |
21 |
+ xs = [portage.cpv_getkey(pkg_key)] + \ |
22 |
+ list(portage.catpkgsplit(pkg_key)[2:]) |
23 |
if xs[2] == "r0": |
24 |
xs[2] = "" |
25 |
else: |
26 |
|
27 |
-- |
28 |
gentoo-commits@l.g.o mailing list |