summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-03-31 22:44:10 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-03-31 22:44:10 (GMT)
commit2bdefb3eeecf231c92ba6321cc7a64b5b5e4af0d (patch)
tree98710cadfe2fc7ed88767df8bc33613b34c88556 /Lib/distutils/command/build_ext.py
parent6bc94cbbc89e21c590d8b4bf11827dc9c30ccb36 (diff)
downloadcpython-2bdefb3eeecf231c92ba6321cc7a64b5b5e4af0d.zip
cpython-2bdefb3eeecf231c92ba6321cc7a64b5b5e4af0d.tar.gz
cpython-2bdefb3eeecf231c92ba6321cc7a64b5b5e4af0d.tar.bz2
catching msvc9compiler error as well
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 905fa1f..2c6df1d 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -478,7 +478,7 @@ class build_ext (Command):
for ext in self.extensions:
try:
self.build_extension(ext)
- except (CCompilerError, DistutilsError), e:
+ except (CCompilerError, DistutilsError, CompileError), e:
if not ext.optional:
raise
self.warn('building extension "%s" failed: %s' %