From 96bc6365127b641923ea35eb197ddac1caa5d5ba Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 19 Nov 2006 00:01:47 +0000 Subject: [PATCH] Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds. svn path=/main/trunk/; revision=5088 --- pym/portage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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={} -- 2.26.2