diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-25 09:43:12 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-25 09:43:12 +0200 |
commit | a2176b15e68b22277cbcd959de67c8fd169fec78 (patch) | |
tree | aeb6e786fab29dee7b6e6430792b2153a90ed91b /resources/tools/presentation/generator_tables.py | |
parent | 3ef4816c6364b3c2dc587186d706f9e93585555a (diff) |
Report: Add VPP func results
Change-Id: Ice0b4cf2a960e8047191ff5e38789050c985d75e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 367e8c9878..0ff4de6c08 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -67,7 +67,13 @@ def table_details(table, input_data): job = table["data"].keys()[0] build = str(table["data"][job][0]) - for suite_longname, suite in input_data.suites(job, build).iteritems(): + try: + suites = input_data.suites(job, build) + except KeyError: + logging.error(" No data available. The table will not be generated.") + return + + for suite_longname, suite in suites.iteritems(): # Generate data suite_name = suite["name"] table_lst = list() |