summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-09 22:27:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-09 22:27:42 +0000
commit385006f13188636b926d959e51591d3d0d07812c (patch)
tree23fb12a8a6e9340d9f529fe11f58c6f34dfd0713
parent5bae27f6ea2842af68ea09f63168cc8dc1029b0c (diff)
downloadportage-385006f13188636b926d959e51591d3d0d07812c.tar.gz
portage-385006f13188636b926d959e51591d3d0d07812c.tar.bz2
portage-385006f13188636b926d959e51591d3d0d07812c.zip
Implement fakedbapi.cpv_all() so that bindbapi will inherit it.
svn path=/main/trunk/; revision=3826
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 01a59726f..f09bdc864 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4200,6 +4200,9 @@ class fakedbapi(dbapi):
returnme.extend(self.cpdict[x])
return returnme
+ def cpv_all(self):
+ return self.cpvdict.keys()
+
def cpv_inject(self,mycpv):
"""Adds a cpv from the list of available packages."""
mycp=cpv_getkey(mycpv)