Fix broken fakedbapi.cpv_inject/cpv_remove calls. (trunk r15493)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:09:18 +0000 (21:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:09:18 +0000 (21:09 -0000)
svn path=/main/branches/2.1.7/; revision=15694

pym/portage/dbapi/bintree.py

index e4f3e60fca35a34e554d0f86bc31e4f294221445..cdc702e413370f168f6d151cea56ca2fb0ad338c 100644 (file)
@@ -67,11 +67,11 @@ class bindbapi(fakedbapi):
 
        def cpv_inject(self, cpv, **kwargs):
                self._aux_cache.pop(cpv, None)
-               fakedbapi.cpv_inject(cpv, **kwargs)
+               fakedbapi.cpv_inject(self, cpv, **kwargs)
 
        def cpv_remove(self, cpv):
                self._aux_cache.pop(cpv, None)
-               fakedbapi.cpv_remove(cpv)
+               fakedbapi.cpv_remove(self, cpv)
 
        def aux_get(self, mycpv, wants):
                if self.bintree and not self.bintree.populated: