From: Zac Medico Date: Sun, 19 Nov 2006 00:01:47 +0000 (-0000) Subject: Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds. X-Git-Tag: v2.1.2~445 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=96bc6365127b641923ea35eb197ddac1caa5d5ba;p=portage.git Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds. svn path=/main/trunk/; revision=5088 --- diff --git a/pym/portage.py b/pym/portage.py index 9aa3f94c5..04442cb8a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5355,7 +5355,11 @@ class portdbapi(dbapi): l.sort() return l - cpv_all = cp_all + def cpv_all(self): + cpv_list = [] + for cp in self.cp_all(): + cpv_list.extend(self.cp_list(cp)) + return cpv_list def p_list(self,mycp): d={}