From bf15098782f77d750313a60cb2d4ae61529b369d Mon Sep 17 00:00:00 2001
From: Ross Brattain <ross.b.brattain@intel.com>
Date: Tue, 15 Aug 2017 17:50:32 -0700
Subject: [PATCH] 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 <ross.b.brattain@intel.com>
---
 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 = """
                     <th>value</th>
                 </tr>
                 <tbody>
-                    {% for key, value in result.info.iteritems() %}
+                    {% for key, value in result.info.items() %}
                     <tr>
                         <td>{{ loop.index }}</td>
                         <td>{{key}}</td>
@@ -177,7 +177,7 @@ report_template = """
                     <th>value</th>
                 </tr>
                 <tbody>
-                    {% for key, value in result.testcases.iteritems() %}
+                    {% for key, value in result.testcases.items() %}
                     <tr>
                         <td>{{ loop.index }}</td>
                         <td>{{key}}</td>
-- 
2.16.6