aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2011-08-17 03:44:27 -0400
committerJason R. Coombs <jaraco@jaraco.com>2011-08-17 03:44:27 -0400
commite6a12bbf1a51bb572145fd46715e2a20e54bfc52 (patch)
tree6428efa0fdae0d54b06e238499d69197becc0802 /setuptools/package_index.py
parent9b09f6d159a7d5f4ffeaf9de4710ee869258fed7 (diff)
downloadexternal_python_setuptools-e6a12bbf1a51bb572145fd46715e2a20e54bfc52.tar.gz
external_python_setuptools-e6a12bbf1a51bb572145fd46715e2a20e54bfc52.tar.bz2
external_python_setuptools-e6a12bbf1a51bb572145fd46715e2a20e54bfc52.zip
Include url in warning when processing URL. Fixes #135.
--HG-- branch : distribute extra : rebase_source : 1241e1cb548adad562fcf61ce33538712a64aaed
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index f064b110..1dccabcb 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -198,7 +198,7 @@ class PackageIndex(Environment):
return
self.info("Reading %s", url)
- f = self.open_url(url, "Download error: %s -- Some packages may not be found!")
+ f = self.open_url(url, "Download error on %s: %%s -- Some packages may not be found!" % url)
if f is None: return
self.fetched_urls[url] = self.fetched_urls[f.url] = True