aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-08-10 08:07:24 +0200
committerTibor Frank <tifrank@cisco.com>2022-08-10 10:21:35 +0200
commitb6274cee47c4cbf60c8ec50e6cc6e463c380521a (patch)
treef96812ebfd33373174ecee08b359108dd1c6ec65 /resources/tools/presentation/generator_tables.py
parentdbad114b252b969523d81372c9065d16b78be676 (diff)
PAL: vpp_version
Change-Id: Id01389d5bac005b0812182551053f354511e24d1 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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 82e59c466f..1439c4a3c0 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -2176,6 +2176,7 @@ def table_weekly_comparison(table, in_data):
header[1].insert(
1, in_data.metadata(job_name, build_nr).get(u"generated", u"")
)
+ logging.info(in_data.metadata(job_name, build_nr).get(u"version", u"ERROR"))
header[0].insert(
1, in_data.metadata(job_name, build_nr).get(u"version", u"")
)
@@ -2219,9 +2220,7 @@ def table_weekly_comparison(table, in_data):
if ref_data is None or cmp_data is None:
cmp_dict[tst_name].append(float(u'nan'))
else:
- cmp_dict[tst_name].append(
- relative_change(ref_data, cmp_data)
- )
+ cmp_dict[tst_name].append(relative_change(ref_data, cmp_data))
tbl_lst_none = list()
tbl_lst = list()