Merge pull request #93 from abednarik/fix_deprecated_iteritems_method

Replace deprecated iteritems() with items()
This commit is contained in:
Forrest 2015-11-22 14:10:40 -08:00
commit 17916fc234

View File

@ -42,7 +42,7 @@
{% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %}
- template: jinja
- 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 }}
{% endfor %}
{% endif %}