diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-05-10 16:25:12 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-05-10 14:26:23 +0000 |
commit | 0284fbd3eb5244de881f06a601deb201d772b5ff (patch) | |
tree | 43338b06249d40e771d8da97d75b1be672bab894 /resources/tools | |
parent | f34b6b865d5157d5d34911b06d8b27901be78beb (diff) |
Report: Add message if no oper data is present
Change-Id: Ic70f603a652ae1297aba29187d1f61f30678be41
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 217c3803fc75fd0388b2326593447038647f28bd)
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 2 |
1 files changed, 2 insertions, 0 deletions
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| ", "", |