1 |
Author: zmedico |
2 |
Date: 2010-02-19 10:25:36 +0000 (Fri, 19 Feb 2010) |
3 |
New Revision: 15390 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/vartree.py |
7 |
Log: |
8 |
Fix deprecated usage of dep_getkey. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/dbapi/vartree.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/dbapi/vartree.py 2010-02-19 10:21:02 UTC (rev 15389) |
14 |
+++ main/trunk/pym/portage/dbapi/vartree.py 2010-02-19 10:25:36 UTC (rev 15390) |
15 |
@@ -2131,7 +2131,7 @@ |
16 |
if others_in_slot is None: |
17 |
slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0] |
18 |
slot_matches = self.vartree.dbapi.match( |
19 |
- "%s:%s" % (dep_getkey(self.mycpv), slot)) |
20 |
+ "%s:%s" % (portage.cpv_getkey(self.mycpv), slot)) |
21 |
others_in_slot = [] |
22 |
for cur_cpv in slot_matches: |
23 |
if cur_cpv == self.mycpv: |
24 |
@@ -2403,7 +2403,7 @@ |
25 |
others_in_slot = [] |
26 |
slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0] |
27 |
slot_matches = self.vartree.dbapi.match( |
28 |
- "%s:%s" % (dep_getkey(self.mycpv), slot)) |
29 |
+ "%s:%s" % (portage.cpv_getkey(self.mycpv), slot)) |
30 |
for cur_cpv in slot_matches: |
31 |
if cur_cpv == self.mycpv: |
32 |
continue |