summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-31 08:46:26 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-31 08:46:26 +0000
commit42dfc5b7c2fa1bfd27d36df8e11f57c1da09b9d2 (patch)
treea337cb6ae849239cc516af2b04605074f233df90
parent0614e9930a2435489475a0b34c545cddd1b190ae (diff)
downloadportage-42dfc5b7c2fa1bfd27d36df8e11f57c1da09b9d2.tar.gz
portage-42dfc5b7c2fa1bfd27d36df8e11f57c1da09b9d2.tar.bz2
portage-42dfc5b7c2fa1bfd27d36df8e11f57c1da09b9d2.zip
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
-rw-r--r--pym/portage/dbapi/bintree.py9
1 files 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"