summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-04-09 03:49:20 (GMT)
committerGreg Ward <gward@python.net>2000-04-09 03:49:20 (GMT)
commitb2e2c29295a5b41f17704bb3d654a7b44d09737c (patch)
tree498f4714b174fceea478150bdabd65b867535cb0 /Lib
parentb361233c76acd85df2c4a3946662d88897963851 (diff)
downloadcpython-b2e2c29295a5b41f17704bb3d654a7b44d09737c.zip
cpython-b2e2c29295a5b41f17704bb3d654a7b44d09737c.tar.gz
cpython-b2e2c29295a5b41f17704bb3d654a7b44d09737c.tar.bz2
Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 3df54a5..9a80106 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -96,7 +96,7 @@ def setup (**attrs):
"error: %s: %s" % (exc.filename, exc.strerror)
else:
raise SystemExit, str (exc)
- except DistutilsExecError, msg:
+ except (DistutilsExecError, DistutilsFileError), msg:
raise SystemExit, "error: " + str (msg)
# setup ()