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.
pull/12230/head
Marius Gedminas 9 years ago
parent 364313c01f
commit 38a96d7e8f

@ -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

Loading…
Cancel
Save