summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-06-01 01:40:30 +0000
committerAlec Warner <antarus@gentoo.org>2006-06-01 01:40:30 +0000
commite60fa38eb0c030b3beaed31475021f56da8876f4 (patch)
treee9a13c6d12a8b7086d3b4c3faed5dfd724d82fac
parent224136f2ee226bc2122b83476208d0c20078aaf2 (diff)
downloadportage-e60fa38eb0c030b3beaed31475021f56da8876f4.tar.gz
portage-e60fa38eb0c030b3beaed31475021f56da8876f4.tar.bz2
portage-e60fa38eb0c030b3beaed31475021f56da8876f4.zip
Fix quoting for bug 109739
svn path=/main/trunk/; revision=3443
-rw-r--r--pym/getbinpkg.py4
1 files 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):