FIX: Do not ignore zeros while creating csv file 96/12096/1
authorTibor Frank <tifrank@cisco.com>
Wed, 25 Apr 2018 06:48:02 +0000 (08:48 +0200)
committerTibor Frank <tifrank@cisco.com>
Wed, 25 Apr 2018 06:48:02 +0000 (08:48 +0200)
Change-Id: I0f1f63b9969399258c44176e6ed5a326fd0a5549
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_CPTA.py

index 567b889..c2f8890 100644 (file)
@@ -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"]:

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.