]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
fix script windows file DBG.write()
authorChristian Van Wambeke <christian.van-wambeke@cea.fr>
Thu, 2 Aug 2018 13:01:50 +0000 (15:01 +0200)
committerChristian Van Wambeke <christian.van-wambeke@cea.fr>
Thu, 2 Aug 2018 13:01:50 +0000 (15:01 +0200)
src/product.py

index 948ebcc285b2d1b0dda8ab427fd82837396740a4..ff713d7212cbdaf0261032fb24f2feb94a8d1684 100644 (file)
@@ -231,11 +231,11 @@ Please provide a 'compil_script' key in its definition.""") % product_name
             prod_info.compil_script = script_path
             if src.architecture.is_windows():
                 if ".sh" in script_path:
-                  DBG.write("automatic switch '.sh' to '.bat' for script windows file %s" % script_path, True)
+                  DBG.write("automatic switch '.sh' to '.bat' for script windows file", script_path, True)
                   prod_info.compil_script = prod_info.compil_script[:-len(".sh")] + ".bat"
                 else:
                   if ".bat" not in script_path:
-                    DBG.write("No expected extension ('.sh' or '.bat') file name for script windows file %s" % script_path, True)
+                    DBG.write("No expected extension ('.sh' or '.bat') file name for script windows file", script_path, True)
                   else:
                     pass # mode olivier .bat present yet nothing to do