Replaced iteritems() with items() for Python 3

This commit is contained in:
Gregory Ballantine 2021-04-11 23:33:37 -04:00
parent 14cfbbfe9f
commit 03de29675e

View File

@ -2,10 +2,10 @@
# Managed by Salt
{%- for key, value in sssd.config.iteritems() %}
{%- for key, value in sssd.config.items() %}
{%- if value is mapping %}
[{{ key }}]
{%- for key2, value2 in value.iteritems() %}
{%- for key2, value2 in value.items() %}
{{ key2 }} = {{ value2 }}
{%- endfor %}
{%- else %}