From fb27525a41a3f941aac906564d144d7177d35a79 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 3 May 2015 11:59:38 -0400 Subject: Let the exception render itself. --- setuptools/dist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setuptools/dist.py b/setuptools/dist.py index 220bcf8c..892044dd 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -126,8 +126,8 @@ def check_requirements(dist, attr, value): raise DistutilsSetupError( "%r must be a string or list of strings " "containing valid project/version requirement specifiers.\n" - "Error: %s" - % (attr, ' '.join(e.args)) + "%s" + % (attr, e) ) -- cgit v1.2.3