Replaced iteritems() with items() for Python 3
This commit is contained in:
parent
14cfbbfe9f
commit
03de29675e
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
# Managed by Salt
|
# Managed by Salt
|
||||||
|
|
||||||
{%- for key, value in sssd.config.iteritems() %}
|
{%- for key, value in sssd.config.items() %}
|
||||||
{%- if value is mapping %}
|
{%- if value is mapping %}
|
||||||
[{{ key }}]
|
[{{ key }}]
|
||||||
{%- for key2, value2 in value.iteritems() %}
|
{%- for key2, value2 in value.items() %}
|
||||||
{{ key2 }} = {{ value2 }}
|
{{ key2 }} = {{ value2 }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user