From 37636c325aed612c06f86cbb042fc14bcbde218c Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Mon, 27 Nov 2017 12:32:48 +0100 Subject: dist.iteritems() no longer exists in Python 3. --- roles/openshift_master/templates/htpasswd.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_master') diff --git a/roles/openshift_master/templates/htpasswd.j2 b/roles/openshift_master/templates/htpasswd.j2 index ba2c02e20..7e2e05076 100644 --- a/roles/openshift_master/templates/htpasswd.j2 +++ b/roles/openshift_master/templates/htpasswd.j2 @@ -1,5 +1,5 @@ {% if 'htpasswd_users' in openshift.master %} -{% for user,pass in openshift.master.htpasswd_users.iteritems() %} +{% for user,pass in openshift.master.htpasswd_users.items() %} {{ user ~ ':' ~ pass }} {% endfor %} {% endif %} -- cgit v1.2.3