From: Tibor Frank Date: Wed, 25 Apr 2018 06:48:02 +0000 (+0200) Subject: FIX: Do not ignore zeros while creating csv file X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=d420e98c6838831877f1aad6aa924844fc009195;ds=sidebyside FIX: Do not ignore zeros while creating csv file Change-Id: I0f1f63b9969399258c44176e6ed5a326fd0a5549 Signed-off-by: Tibor Frank --- 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"]: