Commit c682a001 authored by Jim Fulton's avatar Jim Fulton

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

parent 58229802
......@@ -171,6 +171,9 @@ def _get_dist(requirement, env, ws,
dist = env.best_match(requirement, ws)
if dist is None:
raise ValueError("Couldn't find", requirement)
# XXX Need test for this
if dist.has_metadata('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