diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-02-13 11:27:05 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-02-13 11:27:05 +0100 |
commit | 280f41f5b7ee7415f75839b3096efe4b3935b581 (patch) | |
tree | 1b11f393b668170829b5f58de4faab2e5bbcdbf5 /resources/tools/presentation/generator_tables.py | |
parent | 51b7faf4627f622fa221ff4814f5eab3a8b4f3a9 (diff) |
Reprot: Add dpdk tsh
Change-Id: I577b6957a605f11bc66494273fa37a6345fc117e
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.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 239e20e300..b9a920ab32 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -317,6 +317,8 @@ 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", ): + col_data = f" |prein| {col_data} |preout| " if column[u"data"].split(u" ")[1] in \ (u"conf-history", u"show-run"): col_data = col_data.replace(u" |br| ", u"", 1) @@ -391,6 +393,8 @@ 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", ): + col_data = f" |prein| {col_data} |preout| " if column[u"data"].split(u" ")[1] in \ (u"conf-history", u"show-run"): col_data = col_data.replace(u" |br| ", u"", 1) |