aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-25 08:48:02 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-25 08:48:02 +0200
commitd420e98c6838831877f1aad6aa924844fc009195 (patch)
tree417bcee176befb294014ac7b200776327bea6b56 /resources/tools/presentation
parentcbd331c63db1db3ac51133732a0eb63ea8dc0712 (diff)
FIX: Do not ignore zeros while creating csv file
Change-Id: I0f1f63b9969399258c44176e6ed5a326fd0a5549 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_CPTA.py3
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"]: