1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Python 3: avoid iteritems() in a template

I don't think six.iteritems is available here, but I also don't expect
there to be enough platforms to ever make the speed difference between
.items() and .iteritems() noticeable.
This commit is contained in:
Marius Gedminas 2015-09-03 10:11:32 +03:00
parent 364313c01f
commit 38a96d7e8f

View file

@ -20,7 +20,7 @@ galaxy_info:
# platform on this list, let us know and we'll get it added!
#
#platforms:
{%- for platform,versions in platforms.iteritems() %}
{%- for platform,versions in platforms.items() %}
#- name: {{ platform }}
# versions:
# - all