Fix erroneoud reference to self.aux_get in bintree.move_ent().
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 18:28:45 +0000 (11:28 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 18:28:45 +0000 (11:28 -0700)
pym/portage/dbapi/bintree.py

index 5d152452b2f41ca80b200bb61deaec2b1553fa7e..9b1535e499d24b23e8c85b5b9f85749a3b5ff722 100644 (file)
@@ -293,7 +293,8 @@ class binarytree(object):
                                # Ignore PROVIDE virtual match.
                                continue
                        if repo_match is not None \
-                               and not repo_match(self.aux_get(mycpv, ['repository'])[0]):
+                               and not repo_match(self.dbapi.aux_get(mycpv,
+                                       ['repository'])[0]):
                                continue
                        mynewcpv = mycpv.replace(mycpv_cp, str(newcp), 1)
                        myoldpkg = catsplit(mycpv)[1]