]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
bug fix for python script compilation
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 12:44:04 +0000 (14:44 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 12:44:04 +0000 (14:44 +0200)
src/compilation.py

index f46098b00ae6c577ce630cc4f94067ae98c9246b..0c3e0cd3ea706c19c2de7506863cadafe0cad892 100644 (file)
@@ -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()