From: Zac Medico Date: Tue, 2 Mar 2010 20:37:38 +0000 (-0000) Subject: Fix deprecated usage of dep_getkey. (trunk r15388) X-Git-Tag: v2.1.8~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c4cd608c29e8412cfc600ab9dda17bd610bebc5;p=portage.git Fix deprecated usage of dep_getkey. (trunk r15388) svn path=/main/branches/2.1.7/; revision=15611 --- diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py index 292a71cec..e12bdd34d 100644 --- a/pym/_emerge/unmerge.py +++ b/pym/_emerge/unmerge.py @@ -237,7 +237,7 @@ def unmerge(root_config, myopts, unmerge_action, slotmap[myslot][localtree.dbapi.cpv_counter(mypkg)] = mypkg for mypkg in vartree.dbapi.cp_list( - portage.dep_getkey(mymatch[0])): + portage.cpv_getkey(mymatch[0])): myslot = vartree.getslot(mypkg) if myslot not in slotmap: slotmap[myslot] = {}