From e60fa38eb0c030b3beaed31475021f56da8876f4 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Thu, 1 Jun 2006 01:40:30 +0000 Subject: Fix quoting for bug 109739 svn path=/main/trunk/; revision=3443 --- pym/getbinpkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- cgit v1.2.3-1-g7c22