summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-19 10:20:22 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-19 10:20:22 +0000
commitd9607eb5f937822f1ae1b1e2ce8958574dbc0429 (patch)
treebb8bca2a9277a4541eeeb97765efac9047743957
parentadf196e330f579ae3e0cf1d1d3ab393f89b319bd (diff)
downloadportage-d9607eb5f937822f1ae1b1e2ce8958574dbc0429.tar.gz
portage-d9607eb5f937822f1ae1b1e2ce8958574dbc0429.tar.bz2
portage-d9607eb5f937822f1ae1b1e2ce8958574dbc0429.zip
Fix deprecated usage of dep_getkey.
svn path=/main/trunk/; revision=15388
-rw-r--r--pym/_emerge/unmerge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py
index e11c7dd7c..6e62aae05 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] = {}