From: Tarek Ziadé Date: Tue, 31 Mar 2009 22:44:10 +0000 (+0000) Subject: catching msvc9compiler error as well X-Git-Tag: v2.7a1~1654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bdefb3eeecf231c92ba6321cc7a64b5b5e4af0d;p=thirdparty%2FPython%2Fcpython.git catching msvc9compiler error as well --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 905fa1ff7d7f..2c6df1d2cd0b 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' %