From 809dfcafb748a2cd500a9227eb12f59d2647fb4c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Jul 2006 20:28:59 +0000 Subject: [PATCH] Collapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279. svn path=/main/trunk/; revision=3984 --- pym/portage.py | 6 ++---- 1 file 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: -- 2.26.2