mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 23:10:10 +01:00
Merge pull request #1135 from efiop/master
ssh: properly join chunks on python3
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user