diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-25 08:48:02 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-25 06:51:28 +0000 |
commit | 6f43623cb39adfe7b66bec5ad51e309ca4608254 (patch) | |
tree | 282b1d70f0562c3b936431c1b1dfc2ed12b29812 | |
parent | cc0f043e8cc1c15cfa2c8fa000f421901de9babb (diff) |
FIX: Do not ignore zeros while creating csv file
Change-Id: I0f1f63b9969399258c44176e6ed5a326fd0a5549
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit d420e98c6838831877f1aad6aa924844fc009195)
(cherry picked from commit 2f5a43baecf26ebe978772efc8f6186509cff1c7)
-rw-r--r-- | resources/tools/presentation/generator_CPTA.py | 3 |
1 files changed, 2 insertions, 1 deletions
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"]: |