From 385006f13188636b926d959e51591d3d0d07812c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 9 Jul 2006 22:27:42 +0000 Subject: [PATCH] Implement fakedbapi.cpv_all() so that bindbapi will inherit it. svn path=/main/trunk/; revision=3826 --- pym/portage.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.26.2