From 217c3803fc75fd0388b2326593447038647f28bd Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 10 May 2019 16:25:12 +0200 Subject: Report: Add message if no oper data is present Change-Id: Ic70f603a652ae1297aba29187d1f61f30678be41 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/tools') 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| ", "", -- cgit 1.2.3-korg