From: Michael Tremer Date: Fri, 19 Mar 2010 18:38:39 +0000 (+0100) Subject: naoki: Fix download of files with special characters. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=455e7df44e612a50b2f206556f1cda0d8820d76b;p=ipfire-3.x.git naoki: Fix download of files with special characters. --- diff --git a/naoki/backend.py b/naoki/backend.py index b5339b80e..f0342a677 100644 --- a/naoki/backend.py +++ b/naoki/backend.py @@ -109,7 +109,7 @@ def download(files, logger=None): if os.path.exists(filepath): continue - url = config["sources_download_url"] + "/%s" % urllib.pathname2url(file) + url = config["sources_download_url"] + "/" + file if logger: logger.debug("Retrieving %s" % url) @@ -117,6 +117,7 @@ def download(files, logger=None): g = urlgrabber.grabber.URLGrabber( user_agent = "%sSourceGrabber/%s" % (config["distro_name"], config["distro_version"],), progress_obj = urlgrabber.progress.TextMeter(), + quote=0, ) try: