commit | b2e2c29295a5b41f17704bb3d654a7b44d09737c | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Sun Apr 09 03:49:20 2000 +0000 |
committer | Greg Ward <gward@python.net> | Sun Apr 09 03:49:20 2000 +0000 |
tree | 498f4714b174fceea478150bdabd65b867535cb0 | |
parent | b361233c76acd85df2c4a3946662d88897963851 [diff] |
Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'.
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 @@ "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 ()