From: Alec Warner Date: Thu, 1 Jun 2006 01:40:30 +0000 (-0000) Subject: Fix quoting for bug 109739 X-Git-Tag: v2.1~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e60fa38eb0c030b3beaed31475021f56da8876f4;p=portage.git Fix quoting for bug 109739 svn path=/main/trunk/; revision=3443 --- diff --git a/pym/getbinpkg.py b/pym/getbinpkg.py index 197d777bf..0bd0d3622 100644 --- a/pym/getbinpkg.py +++ b/pym/getbinpkg.py @@ -5,7 +5,7 @@ from output import * -import htmllib,HTMLParser,string,formatter,sys,os,xpak,time,tempfile,base64 +import htmllib,HTMLParser,string,formatter,sys,os,xpak,time,tempfile,base64,urllib2 try: import cPickle @@ -69,7 +69,7 @@ class ParseLinks(HTMLParser.HTMLParser): for x in attrs: if x[0] == 'href': if x[1] not in self.PL_anchors: - self.PL_anchors.append(x[1]) + self.PL_anchors.append(urllib2.unquote(x[1])) def create_conn(baseurl,conn=None):