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 14:31:54 +0100
commit09dbdddf56966f0be9dbe3c4176fe1a588ca3c17 (patch)
tree2bd134648624ec2d1248bd3a53bcdc6ec351ac4e /resources/tools/presentation/generator_tables.py
parentb5e2d94901060f29dddbc3cc1c3dcf47499dd158 (diff)
Report: Fixes
Change-Id: I00c059d89be00357d5751d851c1d1df073af896f Signed-off-by: Tibor Frank <tifrank@cisco.com>
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 576766952b..f703e4b718 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}"')