From: Zooko Date: Tue, 24 Feb 2015 18:11:30 +0000 (+0000) Subject: zetuptoolz: print out more context in case of parse_requirements error X-Git-Tag: allmydata-tahoe-1.10.1a1~63 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/running.html?a=commitdiff_plain;h=e9e63c5e72619f4e5811cd1eed31e344db6236c8;p=tahoe-lafs%2Ftahoe-lafs.git zetuptoolz: print out more context in case of parse_requirements error --- diff --git a/setuptools-0.6c16dev5.egg/pkg_resources.py b/setuptools-0.6c16dev5.egg/pkg_resources.py index 36ec57ad..a94d89f8 100644 --- a/setuptools-0.6c16dev5.egg/pkg_resources.py +++ b/setuptools-0.6c16dev5.egg/pkg_resources.py @@ -2460,7 +2460,7 @@ def parse_requirements(strs): for line in lines: match = DISTRO(line) if not match: - raise ValueError("Missing distribution spec", line) + raise ValueError("Missing distribution spec", line, strs) project_name = match.group(1) p = match.end() extras = []