Skip to content

Commit d788851

Browse files
authored
Merge pull request #2973 from RLovelett/python3-utils-update-checkout
Python 3 removes the reduce builtin
2 parents 91ffcd7 + c955e6e commit d788851

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/update-checkout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import json
1616
import os
1717
import sys
1818

19+
from functools import reduce
20+
1921
sys.path.append(os.path.dirname(__file__))
2022

2123
from SwiftBuildSupport import (

0 commit comments

Comments
 (0)