Merge pull request #1135 from efiop/master

ssh: properly join chunks on python3
This commit is contained in:
Ruslan Kuprieiev
2018-09-19 19:31:41 +03:00
committed by GitHub
+1 -1
View File
@@ -152,7 +152,7 @@ class RemoteSSH(RemoteBase):
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)