aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-08-15 12:25:14 +0200
committerTibor Frank <tifrank@cisco.com>2018-08-20 08:18:02 +0000
commit6319502b111ba4ada612adc82e5e1c431fca2795 (patch)
treebbb02fc98c87410fa0d886ae7479cb0c54e00cbc
parentc68692bef76f16a9bfa7ca943773b39b9c87e380 (diff)
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 <vrpolak@cisco.com>
-rw-r--r--resources/tools/presentation/generator_CPTA.py1
1 files changed, 1 insertions, 0 deletions
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)