From 42dfc5b7c2fa1bfd27d36df8e11f57c1da09b9d2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 May 2007 08:46:26 +0000 Subject: [PATCH] Don't define bindbapi.move_slot_ent() since the inherited one works fine. Override cp_all() instead of cpv_all() since the latter calls the former. svn path=/main/trunk/; revision=6692 --- pym/portage/dbapi/bintree.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index b7fa1ba65..198e0b5ab 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -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" -- 2.26.2