py3: Fix use of iteritems in templates

Switch to using items for dictionary iteration.

Change-Id: I5cd7e445e385dd23d5187ef251d8416bdd3db7d4
Closes-Bug: 1735797
This commit is contained in:
James Page 2017-12-04 10:15:55 +00:00
parent 8ebe32897b
commit eefb27a582

View File

@ -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 -%}