Commit d594b042 authored by jim's avatar jim

Added slightly better error reporting when distros can't be found.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@68885 62d5b8a3-27da-0310-9561-8e5933582275
parent c381ca38
...@@ -171,6 +171,9 @@ def _get_dist(requirement, env, ws, ...@@ -171,6 +171,9 @@ def _get_dist(requirement, env, ws,
dist = env.best_match(requirement, ws) dist = env.best_match(requirement, ws)
if dist is None:
raise ValueError("Couldn't find", requirement)
# XXX Need test for this # XXX Need test for this
if dist.has_metadata('dependency_links.txt'): if dist.has_metadata('dependency_links.txt'):
for link in dist.get_metadata_lines('dependency_links.txt'): for link in dist.get_metadata_lines('dependency_links.txt'):
......
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