From 384a3c56c2767032fbcf6efd8f6400d19801484d Mon Sep 17 00:00:00 2001 From: abednarik Date: Sun, 22 Nov 2015 18:57:56 -0300 Subject: [PATCH] Replace deprecated iteritems() with items() --- apache/register_site.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/register_site.sls b/apache/register_site.sls index ea379a8..5a55a7a 100644 --- a/apache/register_site.sls +++ b/apache/register_site.sls @@ -42,7 +42,7 @@ {% if 'template' in pillar['apache']['register-site'][site] and 'defaults' in pillar['apache']['register-site'][site] %} - template: jinja - 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 }} {% endfor %} {% endif %}