]> granicus.if.org Git - python/commitdiff
Restore missing part of error message (#4931)
authorÉric Araujo <merwok@netwok.org>
Wed, 12 Mar 2014 07:19:33 +0000 (03:19 -0400)
committerÉric Araujo <merwok@netwok.org>
Wed, 12 Mar 2014 07:19:33 +0000 (03:19 -0400)
Lib/distutils/core.py

index 72e3c20b3b4726c835946758c7beb37e92bef0a9..fcb206070361e62e3adba33104312025dc1682e9 100644 (file)
@@ -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: