Fix deprecated usage of dep_getkey. (trunk r15388)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:37:38 +0000 (20:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:37:38 +0000 (20:37 -0000)
svn path=/main/branches/2.1.7/; revision=15611

pym/_emerge/unmerge.py

index 292a71ceccbfff45f3e24b4c043c4a4ab810b160..e12bdd34d61cc426994639093acfac990e6b5c80 100644 (file)
@@ -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] = {}