From 8d5675a92c6982c1b0447c6c6d62fd2c77aeeb54 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 19 Sep 2018 18:57:50 +0300 Subject: [PATCH] ssh: properly join chunks on python3 Signed-off-by: Ruslan Kuprieiev --- dvc/remote/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/remote/ssh.py b/dvc/remote/ssh.py index a04f45419e..8c5ebde07e 100644 --- a/dvc/remote/ssh.py +++ b/dvc/remote/ssh.py @@ -152,7 +152,7 @@ def _exec(self, ssh, cmd): stderr.close() if stdout.channel.recv_exit_status() != 0: - err = ''.join(stderr_chunks) + err = b''.join(stderr_chunks).decode('utf-8') msg = 'SSH command \'{}\' failed: {}'.format(cmd, err) raise DvcException(msg)