From: Éric Araujo Date: Wed, 12 Mar 2014 07:19:33 +0000 (-0400) Subject: Restore missing part of error message (#4931) X-Git-Tag: v2.7.7rc1~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5099031dd3f75914e1dc6456f2eded9767e23fa;p=python Restore missing part of error message (#4931) --- diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 72e3c20b3b..fcb2060703 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -156,7 +156,7 @@ def setup(**attrs): sys.stderr.write("error: %s\n" % (exc,)) raise else: - raise SystemExit, exc + raise SystemExit, "error: %s" % (exc,) except (DistutilsError, CCompilerError), msg: