1. yboussard
  2. distribute

Commits

yboussard  committed 8bb5ae3

Add some more info when there is a problem. Old version give information about what append. But there is no info for end user about url in error. In buildout , your private pypi is down and you have no information about that.
So I had just add url info in the critical message where there is a failure in openurl.

  • Participants
  • Parent commits f64c2d5
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File setuptools/package_index.py

View file
  • Ignore whitespace
             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: (" + url +") %s -- Some packages may not be found!")
         if f is None: return
         self.fetched_urls[url] = self.fetched_urls[f.url] = True