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:15 +0000 |
commit | 217c3803fc75fd0388b2326593447038647f28bd (patch) | |
tree | 743e5499972b26c6cc2f588bd0971846fdc7cc52 | |
parent | f99ce0d330567ef331f6622559e4561485378f5f (diff) |
Report: Add message if no oper data is present
Change-Id: Ic70f603a652ae1297aba29187d1f61f30678be41
Signed-off-by: Tibor Frank <tifrank@cisco.com>
-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| ", "", |