* [gentoo-commits] portage r15609 - main/branches/2.1.7/pym/portage
@ 2010-03-02 20:35 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-02 20:35 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-03-02 20:35:20 +0000 (Tue, 02 Mar 2010)
New Revision: 15609
Modified:
main/branches/2.1.7/pym/portage/__init__.py
Log:
Fix deprecated usage of dep_getkey. (trunk r15382)
Modified: main/branches/2.1.7/pym/portage/__init__.py
===================================================================
--- main/branches/2.1.7/pym/portage/__init__.py 2010-03-02 20:35:04 UTC (rev 15608)
+++ main/branches/2.1.7/pym/portage/__init__.py 2010-03-02 20:35:20 UTC (rev 15609)
@@ -2626,7 +2626,7 @@
has_changed = False
self.mycpv = mycpv
cat, pf = catsplit(mycpv)
- cp = dep_getkey(mycpv)
+ cp = cpv_getkey(mycpv)
cpv_slot = self.mycpv
pkginternaluse = ""
iuse = ""
@@ -3071,7 +3071,7 @@
@return: A list of licenses that have not been accepted.
"""
accept_license = self._accept_license
- cpdict = self._plicensedict.get(dep_getkey(cpv), None)
+ cpdict = self._plicensedict.get(cpv_getkey(cpv), None)
if cpdict:
accept_license = list(self._accept_license)
cpv_slot = "%s:%s" % (cpv, metadata["SLOT"])
@@ -3150,7 +3150,7 @@
@return: A list of properties that have not been accepted.
"""
accept_properties = self._accept_properties
- cpdict = self._ppropertiesdict.get(dep_getkey(cpv), None)
+ cpdict = self._ppropertiesdict.get(cpv_getkey(cpv), None)
if cpdict:
accept_properties = list(self._accept_properties)
cpv_slot = "%s:%s" % (cpv, metadata["SLOT"])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-02 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 20:35 [gentoo-commits] portage r15609 - main/branches/2.1.7/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox