Commit 91e77536 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #233259] Ugly traceback for DistutilsPlatformError

  Fixed by catching all exceptions that are subclasses of DistutilsError,
  so only the error message will be printed.  You can still get the
  whole traceback by enabling the Distutils debugging mode.
parent 706867c2
......@@ -145,9 +145,7 @@ def setup (**attrs):
else:
raise SystemExit, error
except (DistutilsExecError,
DistutilsFileError,
DistutilsOptionError,
except (DistutilsError,
CCompilerError), msg:
if DEBUG:
raise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment