aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-03-08 01:18:47 +0000
committerMarius Mauch <genone@gentoo.org>2005-03-08 01:18:47 +0000
commit6df0075f58f938eaf692d52abdc319543f6bb516 (patch)
treec6b34913017d07685ee73ca084a95c1a814cd335 /pym
parentHarring's rule of CVS: "the bugs do not appear until the delta has been comm... (diff)
downloadportage-cvs-6df0075f58f938eaf692d52abdc319543f6bb516.tar.gz
portage-cvs-6df0075f58f938eaf692d52abdc319543f6bb516.tar.bz2
portage-cvs-6df0075f58f938eaf692d52abdc319543f6bb516.zip
reverting broken patch to cp_all()
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 8d3aab0..1e1ce51 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2,10 +2,10 @@
# portage.py -- core Portage functionality
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/portage.py,v 1.577 2005/03/07 04:00:30 ferringb Exp $
-cvs_id_string="$Id: portage.py,v 1.577 2005/03/07 04:00:30 ferringb Exp $"[5:-2]
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/portage.py,v 1.578 2005/03/08 01:18:47 genone Exp $
+cvs_id_string="$Id: portage.py,v 1.578 2005/03/08 01:18:47 genone Exp $"[5:-2]
-VERSION="$Revision: 1.577 $"[11:-2] + "-cvs"
+VERSION="$Revision: 1.578 $"[11:-2] + "-cvs"
# ===========================================================================
# START OF IMPORTS -- START OF IMPORTS -- START OF IMPORTS -- START OF IMPORT
@@ -2458,7 +2458,9 @@ class fakedbapi(dbapi):
def cp_all(self):
returnme=[]
- return [y for y in [x for x in self.cpdict.values()]]
+ for x in self.cpdict.keys():
+ returnme.extend(self.cpdict[x])
+ return returnme
def cpv_inject(self,mycpv):
"""Adds a cpv from the list of available packages."""