Commit edaefa49 authored by Alex Clark's avatar Alex Clark

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
parent 9b09f6d1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment