aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-13 14:31:54 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-13 13:33:49 +0000
commit9510de10ca09343c3d86207e26d727664e878b9f (patch)
treed590b99dbb77b87b23dd1cd5568ca7bb7eda8de1 /resources/tools/presentation/generator_tables.py
parent68fef03ef24ab652b86a1a5d830da9e7c5d00512 (diff)
Report: Fixes
Change-Id: I00c059d89be00357d5751d851c1d1df073af896f Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 09dbdddf56966f0be9dbe3c4176fe1a588ca3c17)
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 1fa6a41216..3ed6bac1a0 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -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}"')