Don't define bindbapi.move_slot_ent() since the inherited one works fine. Override...
authorZac Medico <zmedico@gentoo.org>
Thu, 31 May 2007 08:46:26 +0000 (08:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 31 May 2007 08:46:26 +0000 (08:46 -0000)
svn path=/main/trunk/; revision=6692

pym/portage/dbapi/bintree.py

index b7fa1ba659d13c670e2371c1a5f3932622ad966a..198e0b5ab8b1be461f4593042eab7bd79f1dcfd4 100644 (file)
@@ -88,15 +88,10 @@ class bindbapi(fakedbapi):
                        self.bintree.populate()
                return fakedbapi.cp_list(self, *pargs, **kwargs)
 
-       def cpv_all(self):
+       def cp_all(self):
                if not self.bintree.populated:
                        self.bintree.populate()
-               return fakedbapi.cpv_all(self)
-
-       def move_slot_ent(self, mylist):
-               if not self.bintree.populated:
-                       self.bintree.populate()
-               return fakedbapi.move_slot_ent(self, mylist)
+               return fakedbapi.cp_all(self)
 
 class binarytree(object):
        "this tree scans for a list of all packages available in PKGDIR"