[Python-checkins] cpython (2.7): Restore missing part of error message (#4931)
eric.araujo
python-checkins at python.org
Wed Mar 12 08:19:46 CET 2014
http://hg.python.org/cpython/rev/0f1237b61f58
changeset: 89597:0f1237b61f58
branch: 2.7
user: Éric Araujo <merwok at netwok.org>
date: Wed Mar 12 03:19:33 2014 -0400
summary:
Restore missing part of error message (#4931)
files:
Lib/distutils/core.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -156,7 +156,7 @@
sys.stderr.write("error: %s\n" % (exc,))
raise
else:
- raise SystemExit, exc
+ raise SystemExit, "error: %s" % (exc,)
except (DistutilsError,
CCompilerError), msg:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list