diff options
Diffstat (limited to 'dev-python/pyds/files/pyds-0.6.5-py2.3.patch')
-rw-r--r-- | dev-python/pyds/files/pyds-0.6.5-py2.3.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/pyds/files/pyds-0.6.5-py2.3.patch b/dev-python/pyds/files/pyds-0.6.5-py2.3.patch new file mode 100644 index 00000000000..e32f7473a3e --- /dev/null +++ b/dev-python/pyds/files/pyds-0.6.5-py2.3.patch @@ -0,0 +1,19 @@ +--- PyDS/DownstreamTool.py ++++ PyDS/DownstreamTool.py +@@ -36,6 +36,7 @@ + import urllib + import gzip + import mimetypes ++import urlparse + + import PyDS.Tool + +@@ -74,6 +75,8 @@ + for h in self.cache._getUrlHeaders(theurl): + apply(self.addheader, h) + self.message += _('<br>adding Header "%s: %s"') % h ++ urlpieces = urlparse.urlparse(url[1]) ++ url = (urlpieces[1], url[1]) + res = urllib.URLopener.open_http(self, url, data) + self.message = self.message.replace('%', '%%') + if self.verbose: |