浏览代码

Merge pull request #53 from abednarik/replace_deprecated_function_iteritems

Replaced iteritems deprecated function with items
tags/v0.41.0
Nitin Madhok 9 年前
父节点
当前提交
d14f8db721
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      openssh/auth.sls

+ 1
- 1
openssh/auth.sls 查看文件

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

正在加载...
取消
保存