From d420e98c6838831877f1aad6aa924844fc009195 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 25 Apr 2018 08:48:02 +0200 Subject: FIX: Do not ignore zeros while creating csv file Change-Id: I0f1f63b9969399258c44176e6ed5a326fd0a5549 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_CPTA.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index 567b889208..c2f8890286 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -437,7 +437,8 @@ def _generate_all_charts(spec, input_data): tst_lst = list() for build in builds_lst: item = tst_data.get(int(build), '') - tst_lst.append(str(item) if item else '') + tst_lst.append(str(item)) + # tst_lst.append(str(item) if item else '') csv_table.append("{0},".format(tst_name) + ",".join(tst_lst) + '\n') for period in chart["periods"]: -- cgit 1.2.3-korg