summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/core.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 9a80106..814f441 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -96,7 +96,9 @@ def setup (**attrs):
"error: %s: %s" % (exc.filename, exc.strerror)
else:
raise SystemExit, str (exc)
- except (DistutilsExecError, DistutilsFileError), msg:
+ except (DistutilsExecError,
+ DistutilsFileError,
+ DistutilsOptionError), msg:
raise SystemExit, "error: " + str (msg)
# setup ()