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

pym/portage/dbapi/vartree.py

index 23555d13d9ba7fd024ec1de44d0649fcfa6ae27f..89b35e5cfcd287da2392ccb56a6c9a03f3cbd51e 100644 (file)
@@ -1401,7 +1401,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:
@@ -1641,7 +1641,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