From 6319502b111ba4ada612adc82e5e1c431fca2795 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 15 Aug 2018 12:25:14 +0200 Subject: [PATCH] FIX: PAL: Keep increasing index on error The previous fix has added KeyError reporting and recovery, but the reported index got stuck on value 15. Change-Id: I2cec0f678a79ba3e5ca425c92c605e00cf551a35 Signed-off-by: Vratko Polak --- resources/tools/presentation/generator_CPTA.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index a4459bc003..38e9fbbdd0 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -332,6 +332,7 @@ def _generate_all_charts(spec, input_data): message = "Out of colors: {}".format(message) logs.append(("ERROR", message)) logging.error(message) + index += 1 continue traces.extend(trace) res.append(rslt) -- 2.16.6