From: Serge Rehbinder Date: Tue, 13 Sep 2016 12:44:04 +0000 (+0200) Subject: bug fix for python script compilation X-Git-Tag: 5.0.0a1~137 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=576329ce7a1a675e8a1d0dbcbb6da2ad8941ea11;p=tools%2Fsat.git bug fix for python script compilation --- diff --git a/src/compilation.py b/src/compilation.py index f46098b..0c3e0cd 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -380,7 +380,7 @@ CC=\\"hack_libtool\\"%g" libtool''' retcode = pymodule.compil(self.config, self, self.logger) except: __, exceptionValue, exceptionTraceback = sys.exc_info() - self.logger.write(exceptionValue, 1) + self.logger.write(str(exceptionValue), 1) import traceback traceback.print_tb(exceptionTraceback) traceback.print_exc()