Explorar el Código

Merge pull request #53 from abednarik/replace_deprecated_function_iteritems

Replaced iteritems deprecated function with items
tags/v0.41.0
Nitin Madhok hace 9 años
padre
commit
d14f8db721
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      openssh/auth.sls

+ 1
- 1
openssh/auth.sls Ver fichero

@@ -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) }}:

Cargando…
Cancelar
Guardar