Skip to content

Commit 4a3a0e0

Browse files
committed
Changing iteritems in templates to items for Py2/3 compatibility
1 parent 8ee4baf commit 4a3a0e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/pip.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% for section,config in python_pip_config.iteritems() | sort %}
1+
{% for section,config in python_pip_config.items() | sort %}
22
[{{section}}]
3-
{% for k,v in config.iteritems() | sort %}
3+
{% for k,v in config.items() | sort %}
44
{% if v is iterable and v is not string %}
55
{{k}} =
66
{% for item in v %}

0 commit comments

Comments
 (0)