]> 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:40:34 +0000 (14:40 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 12:40:34 +0000 (14:40 +0200)
src/compilation.py

index 1ecbfaf52d533bbb3a7e1fcff07fe4add8a38d7f..2ef1cb3580e9a5c9f4dda0f34f01ddf0c32f706e 100644 (file)
@@ -371,8 +371,9 @@ CC=\\"hack_libtool\\"%g" libtool'''
     # Performs a build with a script.
     def do_python_script_build(self, script):
         # script found
-        self.logger.write(_("Compile %(module)s using script %(script)s\n") % \
-            { 'module': self.module, 'script': src.printcolors.printcLabel(script) }, 4)
+        self.logger.write(_("Compile %(product)s using script %(script)s\n") % \
+            { 'product': self.product_info.name,
+             'script': src.printcolors.printcLabel(script) }, 4)
         try:
             import imp
             pymodule = imp.load_source(self.product + "_compile_script", script)