diff options
| author | Jan Pazdziora <jpazdziora@redhat.com> | 2017-11-27 12:32:48 +0100 |
|---|---|---|
| committer | Jan Pazdziora <jpazdziora@redhat.com> | 2017-11-27 13:11:45 +0100 |
| commit | 37636c325aed612c06f86cbb042fc14bcbde218c (patch) | |
| tree | 000e3bc81c52c3a87488b5e71bcb68fd13eb76d1 /roles/openshift_master | |
| parent | 1ef463e727e202ba7595976f0478110b3b7585d0 (diff) | |
dist.iteritems() no longer exists in Python 3.
Diffstat (limited to 'roles/openshift_master')
| -rw-r--r-- | roles/openshift_master/templates/htpasswd.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |
