summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py
index c389ac794..16607087e 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5059,10 +5059,7 @@ class fakedbapi(dbapi):
return self.cpdict[mycp]
def cp_all(self):
- returnme=[]
- for x in self.cpdict:
- returnme.extend(self.cpdict[x])
- return returnme
+ return list(self.cpdict)
def cpv_all(self):
return self.cpvdict.keys()