Replace deprecated iteritems() with items()
This commit is contained in:
parent
52af4e1ca4
commit
384a3c56c2
@ -42,7 +42,7 @@
|
|||||||
{% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %}
|
{% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %}
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- defaults:
|
- defaults:
|
||||||
{% for key, value in pillar['apache']['register-site'][site]['defaults'].iteritems() %}
|
{% for key, value in pillar['apache']['register-site'][site]['defaults'].items() %}
|
||||||
{{ key }}: {{ value }}
|
{{ key }}: {{ value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user