From 09dbdddf56966f0be9dbe3c4176fe1a588ca3c17 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 13 Feb 2020 14:31:54 +0100 Subject: Report: Fixes Change-Id: I00c059d89be00357d5751d851c1d1df073af896f Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/tools') 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}"') -- cgit 1.2.3-korg