1 |
Author: zmedico |
2 |
Date: 2010-02-19 10:06:40 +0000 (Fri, 19 Feb 2010) |
3 |
New Revision: 15382 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
Fix deprecated usage of dep_getkey. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/__init__.py 2010-02-19 10:03:11 UTC (rev 15381) |
14 |
+++ main/trunk/pym/portage/__init__.py 2010-02-19 10:06:40 UTC (rev 15382) |
15 |
@@ -2626,7 +2626,7 @@ |
16 |
has_changed = False |
17 |
self.mycpv = mycpv |
18 |
cat, pf = catsplit(mycpv) |
19 |
- cp = dep_getkey(mycpv) |
20 |
+ cp = cpv_getkey(mycpv) |
21 |
cpv_slot = self.mycpv |
22 |
pkginternaluse = "" |
23 |
iuse = "" |
24 |
@@ -3071,7 +3071,7 @@ |
25 |
@return: A list of licenses that have not been accepted. |
26 |
""" |
27 |
accept_license = self._accept_license |
28 |
- cpdict = self._plicensedict.get(dep_getkey(cpv), None) |
29 |
+ cpdict = self._plicensedict.get(cpv_getkey(cpv), None) |
30 |
if cpdict: |
31 |
accept_license = list(self._accept_license) |
32 |
cpv_slot = "%s:%s" % (cpv, metadata["SLOT"]) |
33 |
@@ -3150,7 +3150,7 @@ |
34 |
@return: A list of properties that have not been accepted. |
35 |
""" |
36 |
accept_properties = self._accept_properties |
37 |
- cpdict = self._ppropertiesdict.get(dep_getkey(cpv), None) |
38 |
+ cpdict = self._ppropertiesdict.get(cpv_getkey(cpv), None) |
39 |
if cpdict: |
40 |
accept_properties = list(self._accept_properties) |
41 |
cpv_slot = "%s:%s" % (cpv, metadata["SLOT"]) |