[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-82]
convert_status is already called. calling it again was breaking van dyke sftp servers, which add garbage to the end of their sftp packets
This commit is contained in:
parent
ba6165a4aa
commit
76eafefcea
|
@ -107,7 +107,7 @@ class SFTPFile (BufferedFile):
|
||||||
t, msg = self.sftp._read_response(req)
|
t, msg = self.sftp._read_response(req)
|
||||||
if t != CMD_STATUS:
|
if t != CMD_STATUS:
|
||||||
raise SFTPError('Expected status')
|
raise SFTPError('Expected status')
|
||||||
self.sftp._convert_status(msg)
|
# convert_status already called
|
||||||
return chunk
|
return chunk
|
||||||
|
|
||||||
def settimeout(self, timeout):
|
def settimeout(self, timeout):
|
||||||
|
|
Loading…
Reference in New Issue