From 6f898a1cf1fbc8c2f9d29d646bec422bb0fbe507 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 10 Apr 2018 10:20:05 +0200 Subject: Fix: csv and txt tables Change-Id: Icb01faf33b02569615c30cea9bc26bddfa20fe33 Signed-off-by: Tibor Frank (cherry picked from commit 9c718fe6567f480d3233b65cc4060b2e8b37cae6) --- resources/tools/presentation/generator_CPTA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg