]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Fix bug of wrong display in case of a failing product compilation
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 30 Aug 2016 07:59:27 +0000 (09:59 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 30 Aug 2016 07:59:27 +0000 (09:59 +0200)
commands/compile.py

index f981912b29d5abd10a1f32fdf610f9b117011b49..3a2dcf4739c94e84298723f5a70c9b9307f8eac3 100644 (file)
@@ -343,7 +343,7 @@ def compile_all_products(sat, config, options, products_infos, logger):
             res += 1
             
         # Log the result
-        if res > 0:
+        if res_prod > 0:
             logger.write("\r%s%s" % (header, " " * len_end_line), 3)
             logger.write("\r" + header + src.printcolors.printcError("KO ") + error_step)
             logger.write("\n==== %(KO)s in compile of %(name)s \n" %