Improve Python 3 compatibility

use dict.items() instead of dict.iteritems() for python 3 compatibility

Change-Id: If2319978ba1ca8074a07330140bfd4818ad1bb43
This commit is contained in:
ritesh.arya 2017-06-29 19:16:09 +05:30 committed by Ryan Beisner
parent 925889c8ea
commit a44ee453c3
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ clog to syslog = {{ use_syslog }}
[client]
{% if rbd_client_cache_settings -%}
{% for key, value in rbd_client_cache_settings.iteritems() -%}
{% for key, value in rbd_client_cache_settings.items() -%}
{{ key }} = {{ value }}
{% endfor -%}
{%- endif %}
{%- endif %}