X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=0646db3ab828a063e0eb1daa51a98d2906ee801f;hb=36b2dffd55dee362d96aae98d563a0c2b475573e;hp=6f9925fede7acfa73c5ddfd2e17414d3d327414c;hpb=8d8c5c429ef242d3903f2ad3f4743fcac50d6253;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 6f9925fede..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| ", "", @@ -169,7 +171,7 @@ def table_merged_details(table, input_data): format(col_data[:-5]) row_lst.append('"{0}"'.format(col_data)) except KeyError: - row_lst.append("No data") + row_lst.append('"Not captured"') table_lst.append(row_lst) # Write the data to file