1 |
Author: zmedico |
2 |
Date: 2008-02-25 23:57:54 +0000 (Mon, 25 Feb 2008) |
3 |
New Revision: 9383 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.2/pym/portage.py |
7 |
Log: |
8 |
Bug #211365 - Use catpkgsplit() instead of pkgsplit() on the cpv in the |
9 |
dblink constructor since otherwise weird categories containing numbers |
10 |
can make pkgsplit() return None (likely related to version regex handling). |
11 |
|
12 |
|
13 |
Modified: main/branches/2.1.2/pym/portage.py |
14 |
=================================================================== |
15 |
--- main/branches/2.1.2/pym/portage.py 2008-02-25 16:38:02 UTC (rev 9382) |
16 |
+++ main/branches/2.1.2/pym/portage.py 2008-02-25 23:57:54 UTC (rev 9383) |
17 |
@@ -8004,7 +8004,8 @@ |
18 |
self.cat = cat |
19 |
self.pkg = pkg |
20 |
self.mycpv = self.cat+"/"+self.pkg |
21 |
- self.mysplit = pkgsplit(self.mycpv) |
22 |
+ self.mysplit = catpkgsplit(self.mycpv)[1:] |
23 |
+ self.mysplit[0] = "%s/%s" % (self.cat, self.mysplit[0]) |
24 |
self.treetype = treetype |
25 |
if vartree is None: |
26 |
global db |
27 |
|
28 |
-- |
29 |
gentoo-commits@l.g.o mailing list |