aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Clark <aclark@aclark.net>2011-08-14 19:18:17 -0400
committerAlex Clark <aclark@aclark.net>2011-08-14 19:18:17 -0400
commitedaefa4982e0aac7b07048c4761446ed66fec524 (patch)
treea80023da1e45a5fe5b52557b6f6019e6fceb6a73
parent9b09f6d159a7d5f4ffeaf9de4710ee869258fed7 (diff)
downloadexternal_python_setuptools-edaefa4982e0aac7b07048c4761446ed66fec524.tar.gz
external_python_setuptools-edaefa4982e0aac7b07048c4761446ed66fec524.tar.bz2
external_python_setuptools-edaefa4982e0aac7b07048c4761446ed66fec524.zip
Remove extraneous 2nd argument in call to open_url, apparently intended to
issue a warning (looks like open_url takes an optional `warning` argument, but I couldn't get that to work either). Fixes #135. This fix is better than the status quo, but probably not as good as issuing a warning instead of failure. --HG-- branch : distribute extra : rebase_source : 39889bf4dd21abbd57207bfafe6f8bad68b1e46f
-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..c9e3d637 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)
if f is None: return
self.fetched_urls[url] = self.fetched_urls[f.url] = True