diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-11-19 00:01:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-11-19 00:01:47 +0000 |
commit | 96bc6365127b641923ea35eb197ddac1caa5d5ba (patch) | |
tree | 44c622d56fa0efc9e541302ef820797d9e51262c | |
parent | 9701443e2860346e90f820d41ff176a73674cd04 (diff) | |
download | portage-96bc6365127b641923ea35eb197ddac1caa5d5ba.tar.gz portage-96bc6365127b641923ea35eb197ddac1caa5d5ba.tar.bz2 portage-96bc6365127b641923ea35eb197ddac1caa5d5ba.zip |
Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds.
svn path=/main/trunk/; revision=5088
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 5 insertions, 1 deletions
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={} |