summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-03-31 22:50:54 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-03-31 22:50:54 (GMT)
commit30911294d8f1bfd18206b0ed66b3a986c21b6f78 (patch)
treeab695b61873d4c3b2985fb0f4aff144eac51e31e /Lib/distutils/command/build_ext.py
parent17b9e27abe2148c00f02d9bb1bdff13bc0bed6d0 (diff)
downloadcpython-30911294d8f1bfd18206b0ed66b3a986c21b6f78.zip
cpython-30911294d8f1bfd18206b0ed66b3a986c21b6f78.tar.gz
cpython-30911294d8f1bfd18206b0ed66b3a986c21b6f78.tar.bz2
Merged revisions 70920,70922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70920 | tarek.ziade | 2009-03-31 17:44:10 -0500 (Tue, 31 Mar 2009) | 1 line catching msvc9compiler error as well ........ r70922 | tarek.ziade | 2009-03-31 17:47:01 -0500 (Tue, 31 Mar 2009) | 1 line fixed the test for win32 CompileError ........
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 2295906..ade95be 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -457,7 +457,7 @@ class build_ext(Command):
for ext in self.extensions:
try:
self.build_extension(ext)
- except (CCompilerError, DistutilsError) as e:
+ except (CCompilerError, DistutilsError, CompileError) as e:
if not ext.optional:
raise
self.warn('building extension "%s" failed: %s' %