Fix deprecated usage of dep_getkey.
authorZac Medico <zmedico@gentoo.org>
Fri, 19 Feb 2010 10:20:22 +0000 (10:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 19 Feb 2010 10:20:22 +0000 (10:20 -0000)
svn path=/main/trunk/; revision=15388

pym/_emerge/unmerge.py

index e11c7dd7c9f0d8dda598ffddc30327539ef00579..6e62aae05540499493325afb81980291311e8b59 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] = {}