Skip to content

Commit 5f95138

Browse files
authored
Merge pull request swiftlang#32626 from compnerd/construction-workers
test: improve Python3 compatibility for `swift_build_sdk_interfaces`
2 parents 7f4cd11 + f7ee082 commit 5f95138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift_build_sdk_interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def run_command(args, dry_run):
105105
try:
106106
out, err = proc.communicate()
107107
exitcode = proc.returncode
108-
return (exitcode, out, err)
108+
return (exitcode, out.decode('utf-8'), err.decode('utf-8'))
109109
except KeyboardInterrupt:
110110
proc.terminate()
111111
raise

0 commit comments

Comments
 (0)