Browse Source

Replace deprecated iteritems() with items()

tags/v0.37.4
abednarik 9 years ago
parent
commit
384a3c56c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/register_site.sls

+ 1
- 1
apache/register_site.sls View File

{% 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…
Cancel
Save