Report: Fixes 94/25094/1
authorTibor Frank <tifrank@cisco.com>
Thu, 13 Feb 2020 13:31:54 +0000 (14:31 +0100)
committerTibor Frank <tifrank@cisco.com>
Thu, 13 Feb 2020 13:31:54 +0000 (14:31 +0100)
Change-Id: I00c059d89be00357d5751d851c1d1df073af896f
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py

index 5767669..f703e4b 100644 (file)
@@ -317,7 +317,7 @@ def table_details(table, input_data):
                 try:
                     col_data = str(data[job][build][test][column[
                         u"data"].split(" ")[1]]).replace(u'"', u'""')
-                    if column[u"data"].split(u" ")[1] in (u"name", ):
+                    if column[u"data"].split(u" ")[1] in (u"name", u"msg"):
                         col_data = f" |prein| {col_data} |preout| "
                     if column[u"data"].split(u" ")[1] in \
                         (u"conf-history", u"show-run"):
@@ -393,10 +393,10 @@ def table_merged_details(table, input_data):
                     col_data = col_data.replace(
                         u"No Data", u"Not Captured     "
                     )
-                    if column[u"data"].split(u" ")[1] in (u"name", ):
+                    if column[u"data"].split(u" ")[1] in (u"name", u"msg"):
                         col_data = f" |prein| {col_data} |preout| "
                     if column[u"data"].split(u" ")[1] in \
-                        (u"conf-history", u"show-run", u"msg"):
+                        (u"conf-history", u"show-run"):
                         col_data = col_data.replace(u" |br| ", u"", 1)
                         col_data = f" |prein| {col_data[:-5]} |preout| "
                     row_lst.append(f'"{col_data}"')

©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.