Pārlūkot izejas kodu

Replaced iteritems deprecated function with items

tags/v0.41.0
abednarik pirms 9 gadiem
vecāks
revīzija
b813b4b52a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      openssh/auth.sls

+ 1
- 1
openssh/auth.sls Parādīt failu

@@ -32,7 +32,7 @@ include:
{%- from "openssh/map.jinja" import openssh with context -%}
{%- set openssh_pillar = pillar.get('openssh', {}) -%}
{%- set auth = openssh_pillar.get('auth', {}) -%}
{%- for identifier,keys in auth.iteritems() -%}
{%- for identifier,keys in auth.items() -%}
{%- for key in keys -%}
{% if 'present' in key and key['present'] %}
{{ print_name(identifier, key) }}:

Notiek ielāde…
Atcelt
Saglabāt