From: Serge Rehbinder Date: Tue, 30 Aug 2016 07:59:27 +0000 (+0200) Subject: Fix bug of wrong display in case of a failing product compilation X-Git-Tag: 5.0.0a1~154 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=db351ad58cde3bd49bb71a77b9879e59ac34ac1e;p=tools%2Fsat.git Fix bug of wrong display in case of a failing product compilation --- diff --git a/commands/compile.py b/commands/compile.py index f981912..3a2dcf4 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -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" %