diff --git a/templates/newton/nova.conf b/templates/newton/nova.conf index c2b578f9..66b18e67 100644 --- a/templates/newton/nova.conf +++ b/templates/newton/nova.conf @@ -111,13 +111,13 @@ volume_api_class=nova.volume.cinder.API {% endif -%} {% if user_config_flags -%} -{% for key, value in user_config_flags.iteritems() -%} +{% for key, value in user_config_flags.items() -%} {{ key }} = {{ value }} {% endfor -%} {% endif -%} {% if listen_ports -%} -{% for key, value in listen_ports.iteritems() -%} +{% for key, value in listen_ports.items() -%} {{ key }} = {{ value }} {% endfor -%} {% endif -%}