Skip to content

Commit bf5698f

Browse files
authored
Merge pull request #32792 from compnerd/sprinting-to-the-end
test: make `remote-run` Python 3 friendly
2 parents 39ad5e4 + 061d651 commit bf5698f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/remote-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CommandRunner(object):
8989
print(concatenated_commands, file=sys.stderr)
9090
if self.dry_run:
9191
return
92-
_, _ = sftp_proc.communicate(concatenated_commands)
92+
_, _ = sftp_proc.communicate(concatenated_commands.encode('utf-8'))
9393
if sftp_proc.returncode:
9494
sys.exit(sftp_proc.returncode)
9595

0 commit comments

Comments
 (0)