diff options
| author | ?ric Araujo <merwok@netwok.org> | 2011-09-12 02:13:02 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2011-09-12 02:13:02 +0200 |
| commit | dafc33fbc0701fa2c2a3536a1c7b470d3051b67f (patch) | |
| tree | 0bdf1529f3b8c6c5ee3dfbebea52673946940461 /distutils2/compiler/bcppcompiler.py | |
| parent | a89e49a0feefd891338927c72f659f2ca7714368 (diff) | |
| download | disutils2-dafc33fbc0701fa2c2a3536a1c7b470d3051b67f.tar.gz | |
Let the test suite run again
Diffstat (limited to 'distutils2/compiler/bcppcompiler.py')
| -rw-r--r-- | distutils2/compiler/bcppcompiler.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/distutils2/compiler/bcppcompiler.py b/distutils2/compiler/bcppcompiler.py index 0b764f2..d44468b 100644 --- a/distutils2/compiler/bcppcompiler.py +++ b/distutils2/compiler/bcppcompiler.py @@ -351,7 +351,5 @@ class BCPPCompiler(CCompiler) : self.mkpath(os.path.dirname(output_file)) try: self.spawn(pp_args) - except PackagingExecError: - msg = sys.exc_info()[1] - print(msg) - raise CompileError(msg) + except PackagingExecError, exc: + raise CompileError(exc) |
