* [gentoo-commits] portage r15612 - main/branches/2.1.7/pym/portage/dbapi
@ 2010-03-02 20:37 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-02 20:37 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-03-02 20:37:48 +0000 (Tue, 02 Mar 2010)
New Revision: 15612
Modified:
main/branches/2.1.7/pym/portage/dbapi/vartree.py
Log:
Fix deprecated usage of dep_getkey. (trunk r15390)
Modified: main/branches/2.1.7/pym/portage/dbapi/vartree.py
===================================================================
--- main/branches/2.1.7/pym/portage/dbapi/vartree.py 2010-03-02 20:37:38 UTC (rev 15611)
+++ main/branches/2.1.7/pym/portage/dbapi/vartree.py 2010-03-02 20:37:48 UTC (rev 15612)
@@ -1401,7 +1401,7 @@
if others_in_slot is None:
slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0]
slot_matches = self.vartree.dbapi.match(
- "%s:%s" % (dep_getkey(self.mycpv), slot))
+ "%s:%s" % (portage.cpv_getkey(self.mycpv), slot))
others_in_slot = []
for cur_cpv in slot_matches:
if cur_cpv == self.mycpv:
@@ -1641,7 +1641,7 @@
others_in_slot = []
slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0]
slot_matches = self.vartree.dbapi.match(
- "%s:%s" % (dep_getkey(self.mycpv), slot))
+ "%s:%s" % (portage.cpv_getkey(self.mycpv), slot))
for cur_cpv in slot_matches:
if cur_cpv == self.mycpv:
continue
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-02 20:37 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:37 [gentoo-commits] portage r15612 - main/branches/2.1.7/pym/portage/dbapi 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