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

pym/portage/__init__.py

index 7b8f7b1b72dfaa00474376fa7bd4bd9343360f19..5af4896c30dc2cc6af7fcb65861665c4221b7474 100644 (file)
@@ -8714,7 +8714,7 @@ def getmaskingstatus(mycpv, settings=None, portdb=None):
                valid keyword."""
                myarch = pgroups[0].lstrip("~")
 
-       cp = dep_getkey(mycpv)
+       cp = cpv_getkey(mycpv)
        pkgdict = settings.pkeywordsdict.get(cp)
        matches = False
        if pkgdict: