From e9e63c5e72619f4e5811cd1eed31e344db6236c8 Mon Sep 17 00:00:00 2001 From: Zooko Date: Tue, 24 Feb 2015 18:11:30 +0000 Subject: [PATCH] zetuptoolz: print out more context in case of parse_requirements error --- setuptools-0.6c16dev5.egg/pkg_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.45.2