From edaefa4982e0aac7b07048c4761446ed66fec524 Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sun, 14 Aug 2011 19:18:17 -0400 Subject: 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 --- setuptools/package_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/package_index.py') 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 -- cgit v1.2.3