* [gentoo-commits] portage r15608 - 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:04 +0000 (Tue, 02 Mar 2010)
New Revision: 15608
Modified:
main/branches/2.1.7/pym/portage/dep.py
Log:
Fix deprecated dep_getkey usage in match_from_list. (trunk r15381)
Modified: main/branches/2.1.7/pym/portage/dep.py
===================================================================
--- main/branches/2.1.7/pym/portage/dep.py 2010-03-02 20:34:07 UTC (rev 15607)
+++ main/branches/2.1.7/pym/portage/dep.py 2010-03-02 20:35:04 UTC (rev 15608)
@@ -1056,7 +1056,9 @@
for x in candidate_list:
cp = getattr(x, "cp", None)
if cp is None:
- cp = dep_getkey(x)
+ mysplit = catpkgsplit(remove_slot(x))
+ if mysplit is not None:
+ cp = mysplit[0] + '/' + mysplit[1]
if cp != mycpv:
continue
mylist.append(x)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-02 20:43 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 r15608 - 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