From: Vratko Polak Date: Wed, 15 Aug 2018 10:25:14 +0000 (+0200) Subject: FIX: PAL: Keep increasing index on error X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=6319502b111ba4ada612adc82e5e1c431fca2795 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 --- 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)