From: Zac Medico Date: Fri, 21 Jul 2006 20:28:59 +0000 (-0000) Subject: Collapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279. X-Git-Tag: v2.1.1~157 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=809dfcafb748a2cd500a9227eb12f59d2647fb4c;p=portage.git Collapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279. svn path=/main/trunk/; revision=3984 --- 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: