From eefb27a582c6972bd335331f2729a05abc69566e Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 4 Dec 2017 10:15:55 +0000 Subject: [PATCH] py3: Fix use of iteritems in templates Switch to using items for dictionary iteration. Change-Id: I5cd7e445e385dd23d5187ef251d8416bdd3db7d4 Closes-Bug: 1735797 --- templates/icehouse/dnsmasq.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/icehouse/dnsmasq.conf b/templates/icehouse/dnsmasq.conf index f67aa11f..48a5c032 100644 --- a/templates/icehouse/dnsmasq.conf +++ b/templates/icehouse/dnsmasq.conf @@ -2,7 +2,7 @@ dhcp-option=26,{{ instance_mtu }} {% endif -%} {% if dnsmasq_flags -%} -{% for key, value in dnsmasq_flags.iteritems() -%} +{% for key, value in dnsmasq_flags.items() -%} {{ key }} = {{ value }} {% endfor -%} {% endif -%}