summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 2d9d11d3f..3e77d53c3 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4335,6 +4335,12 @@ class dbapi:
def cp_list(self,cp,use_cache=1):
return
+ def cpv_all(self):
+ cpv_list = []
+ for cp in self.cp_all():
+ cpv_list.extend(self.cp_list(cp))
+ return cpv_list
+
def aux_get(self,mycpv,mylist):
"stub code for returning auxiliary db information, such as SLOT, DEPEND, etc."
'input: "sys-apps/foo-1.0",["SLOT","DEPEND","HOMEPAGE"]'
@@ -5526,12 +5532,6 @@ class portdbapi(dbapi):
l.sort()
return l
- 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={}
for oroot in self.porttrees: