]> granicus.if.org Git - python/commitdiff
catching msvc9compiler error as well
authorTarek Ziadé <ziade.tarek@gmail.com>
Tue, 31 Mar 2009 22:44:10 +0000 (22:44 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Tue, 31 Mar 2009 22:44:10 +0000 (22:44 +0000)
Lib/distutils/command/build_ext.py

index 905fa1ff7d7f31a0ec5be1a46f7839b7a21e694f..2c6df1d2cd0b15dd3c07b18d49a4c526a8f971f0 100644 (file)
@@ -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' %