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

pym/portage/dbapi/bintree.py

index 3fd098db1ed5dbda5257ac2ee14f912e45e2eaa6..6f164ccb9abb0f81e26a521caeb1483a1eb7cb66 100644 (file)
@@ -845,7 +845,7 @@ class binarytree(object):
                                                (fullpkg, self.settings["PORTAGE_CONFIGROOT"]),
                                                noiselevel=-1)
                                        continue
-                               mykey = dep_getkey(fullpkg)
+                               mykey = portage.cpv_getkey(fullpkg)
                                try:
                                        # invalid tbz2's can hurt things.
                                        #print "cpv_inject("+str(fullpkg)+")"