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

pym/portage/dbapi/vartree.py

index a1327e8452e75eb56286c83f9d56720e0d265390..06273520dc44fb3d6a322a0dd483c54311eb7de3 100644 (file)
@@ -2131,7 +2131,7 @@ class dblink(object):
                if others_in_slot is None:
                        slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0]
                        slot_matches = self.vartree.dbapi.match(
-                               "%s:%s" % (dep_getkey(self.mycpv), slot))
+                               "%s:%s" % (portage.cpv_getkey(self.mycpv), slot))
                        others_in_slot = []
                        for cur_cpv in slot_matches:
                                if cur_cpv == self.mycpv:
@@ -2403,7 +2403,7 @@ class dblink(object):
                        others_in_slot = []
                        slot = self.vartree.dbapi.aux_get(self.mycpv, ["SLOT"])[0]
                        slot_matches = self.vartree.dbapi.match(
-                               "%s:%s" % (dep_getkey(self.mycpv), slot))
+                               "%s:%s" % (portage.cpv_getkey(self.mycpv), slot))
                        for cur_cpv in slot_matches:
                                if cur_cpv == self.mycpv:
                                        continue