summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-21 20:28:59 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-21 20:28:59 +0000
commit809dfcafb748a2cd500a9227eb12f59d2647fb4c (patch)
tree165b04dbdfd99b88ffea8e9a466739e02c397673
parentba008eb844b7e62aae820035dfad6077d63432a9 (diff)
downloadportage-809dfcafb748a2cd500a9227eb12f59d2647fb4c.tar.gz
portage-809dfcafb748a2cd500a9227eb12f59d2647fb4c.tar.bz2
portage-809dfcafb748a2cd500a9227eb12f59d2647fb4c.zip
Collapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279.
svn path=/main/trunk/; revision=3984
-rw-r--r--pym/portage.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 5e2e65376..fb5bf2c09 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4073,10 +4073,8 @@ class bindbapi(fakedbapi):
for x in wants:
if self.bintree and self.bintree.isremote(mycpv):
# We use the cache for remote packages
- if self.bintree.remotepkgs[tbz2name].has_key(x):
- mylist.append(self.bintree.remotepkgs[tbz2name][x][:]) # [:] Copy String
- else:
- mylist.append("")
+ mylist.append(" ".join(
+ self.bintree.remotepkgs[tbz2name].get(x,"").split()))
else:
myval = tbz2.getfile(x)
if myval is None: