From: Zac Medico Date: Sun, 9 Jul 2006 22:27:42 +0000 (-0000) Subject: Implement fakedbapi.cpv_all() so that bindbapi will inherit it. X-Git-Tag: v2.1.1~253 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=385006f13188636b926d959e51591d3d0d07812c;p=portage.git Implement fakedbapi.cpv_all() so that bindbapi will inherit it. svn path=/main/trunk/; revision=3826 --- 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)