+
Skip to content

Conversation

sdiepend
Copy link
Contributor

Since ansible 2.7, python 2.6 is not supported anymore on the control host, iteritems doesn't exist anymore in python 3 and dict.items is available in python 2.7.

ansible/ansible#42971
https://docs.python.org/2/library/stdtypes.html#dict.items

Since ansible 2.7, python 2.6 is not supported anymore on the control host, iteritems doesn't exist anymore in python 3 and dict.items is available in python 2.7.

ansible/ansible#42971
https://docs.python.org/2/library/stdtypes.html#dict.items
@ahuffman
Copy link
Owner

ahuffman commented Mar 6, 2019

@sdiepend LGTM, thanks for the contribution!

@ahuffman ahuffman merged commit 47386cf into ahuffman:master Mar 6, 2019
shk3bq4d pushed a commit to shk3bq4d/ansible-sudoers that referenced this pull request Jul 15, 2019
Change dict.iteritems to dict.items in templates to drop Python < 2.7 support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载