From db351ad58cde3bd49bb71a77b9879e59ac34ac1e Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 30 Aug 2016 09:59:27 +0200 Subject: [PATCH] Fix bug of wrong display in case of a failing product compilation --- commands/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" % -- 2.39.2