From bf15098782f77d750313a60cb2d4ae61529b369d Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Tue, 15 Aug 2017 17:50:32 -0700 Subject: html_template: can't use iteritems, use items iteritems is not supported in Python 3 we have to use items() Change-Id: Ib923dfea4220eeab311949c9f6f420fef378e98a Signed-off-by: Ross Brattain --- yardstick/common/html_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yardstick/common/html_template.py b/yardstick/common/html_template.py index f030a2f6c..e17c76637 100644 --- a/yardstick/common/html_template.py +++ b/yardstick/common/html_template.py @@ -158,7 +158,7 @@ report_template = """ value - {% for key, value in result.info.iteritems() %} + {% for key, value in result.info.items() %} {{ loop.index }} {{key}} @@ -177,7 +177,7 @@ report_template = """ value - {% for key, value in result.testcases.iteritems() %} + {% for key, value in result.testcases.items() %} {{ loop.index }} {{key}} -- cgit