Skip to content

Commit 75de4fe

Browse files
author
Harlan
committed
[build_support] Fixed lingering python3 issue
Another use of iteritems -> explicit key/value
1 parent ff373e9 commit 75de4fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/swift_build_support/swift_build_support/toolchain.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def _first_common_toolchain(tools, suffixes=None):
6969

7070
for suffix in suffixes:
7171
path_map = dict()
72-
for name, tool in tools.iteritems():
72+
for name in tools:
73+
tool = tools[name]
7374
path = which(tool + suffix)
7475
if not path:
7576
break

0 commit comments

Comments
 (0)