Przeglądaj źródła

Merge pull request #45 from pcdummy/master

Use iteritems() instead of items().
master
Forrest 9 lat temu
rodzic
commit
1af5151bc9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      openssh/auth.sls

+ 1
- 1
openssh/auth.sls Wyświetl plik

@@ -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.items() -%}
{%- for identifier,keys in auth.iteritems() -%}
{%- for key in keys -%}
{% if 'present' in key and key['present'] %}
{{ print_name(identifier, key) }}:

Ładowanie…
Anuluj
Zapisz