summaryrefslogtreecommitdiffstats
path: root/roles/nickhammond.logrotate
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2017-11-28 10:02:34 -0500
committerGitHub <noreply@github.com>2017-11-28 10:02:34 -0500
commit192b8477faa018d31893b322f43f356ce3ac1c80 (patch)
tree7ed69c98a8a28b352e33b0f9edb95eeb5b321d34 /roles/nickhammond.logrotate
parent34de448dd7ff5c671628092e51668aa5c89e8e74 (diff)
parent37636c325aed612c06f86cbb042fc14bcbde218c (diff)
downloadopenshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.gz
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.bz2
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.tar.xz
openshift-192b8477faa018d31893b322f43f356ce3ac1c80.zip
Merge pull request #6259 from adelton/issue-6255
dist.iteritems() no longer exists in Python 3.
Diffstat (limited to 'roles/nickhammond.logrotate')
-rw-r--r--roles/nickhammond.logrotate/templates/logrotate.d.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nickhammond.logrotate/templates/logrotate.d.j2 b/roles/nickhammond.logrotate/templates/logrotate.d.j2
index 6453be6b2..1ad1c595c 100644
--- a/roles/nickhammond.logrotate/templates/logrotate.d.j2
+++ b/roles/nickhammond.logrotate/templates/logrotate.d.j2
@@ -7,7 +7,7 @@
{% endfor -%}
{% endif %}
{%- if item.scripts is defined -%}
- {%- for name, script in item.scripts.iteritems() -%}
+ {%- for name, script in item.scripts.items() -%}
{{ name }}
{{ script }}
endscript