From: Tibor Frank Date: Fri, 10 May 2019 14:25:12 +0000 (+0200) Subject: Report: Add message if no oper data is present X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=217c3803fc75fd0388b2326593447038647f28bd Report: Add message if no oper data is present Change-Id: Ic70f603a652ae1297aba29187d1f61f30678be41 Signed-off-by: Tibor Frank --- diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 681cc1fc06..0646db3ab8 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -161,6 +161,8 @@ def table_merged_details(table, input_data): try: col_data = str(data[test][column["data"]. split(" ")[1]]).replace('"', '""') + col_data = replace(col_data, "No Data", + "Not Captured ") if column["data"].split(" ")[1] in ("conf-history", "show-run"): col_data = replace(col_data, " |br| ", "",