From: Serge Rehbinder Date: Tue, 13 Sep 2016 12:40:34 +0000 (+0200) Subject: bug fix for python script compilation X-Git-Tag: 5.0.0a1~139 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=174d99e94c1c7fb57c5c17cb5187680aee164bff;p=tools%2Fsat.git bug fix for python script compilation --- diff --git a/src/compilation.py b/src/compilation.py index 1ecbfaf..2ef1cb3 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -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)