aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-10 10:20:05 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-10 08:21:22 +0000
commit6f898a1cf1fbc8c2f9d29d646bec422bb0fbe507 (patch)
tree7f1bbe343bdf6c9ea79a6294db5c1abc89ecbdd2
parent6fbda276a49c750ab985424d946f4881c497ba5d (diff)
Fix: csv and txt tables
Change-Id: Icb01faf33b02569615c30cea9bc26bddfa20fe33 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 9c718fe6567f480d3233b65cc4060b2e8b37cae6)
-rw-r--r--resources/tools/presentation/generator_CPTA.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py
index a2e9ee647d..bbf1a94598 100644
--- a/resources/tools/presentation/generator_CPTA.py
+++ b/resources/tools/presentation/generator_CPTA.py
@@ -368,7 +368,7 @@ def _generate_all_charts(spec, input_data):
builds_lst = list()
for build in range(builds[0], builds[-1] + 1):
- status = spec.input["builds"][job_name][str(build)]["status"]
+ status = spec.input["builds"][job_name][build]["status"]
if status != "failed" and status != "not found":
builds_lst.append(str(build))
print(builds_lst)