84fb4b906d
iteritems() method is no longer exists in Python 3 dictionaries which causes the neutron-openvswitch charm to throw an exception if dnsmasq_flags option is set. Code has been changed to items() method to work in Python 3. Change-Id: I7eaae8f33ed0dc5c97ef478bfe9e1fbd7f79783f Closes-Bug: #1738198
6 lines
122 B
Plaintext
6 lines
122 B
Plaintext
{% if dnsmasq_flags -%}
|
|
{% for key, value in dnsmasq_flags.items() -%}
|
|
{{ key }} = {{ value }}
|
|
{% endfor -%}
|
|
{% endif -%}
|