[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:
Robey Pointer 2005-11-25 19:09:59 +00:00
parent ba6165a4aa
commit 76eafefcea
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class SFTPFile (BufferedFile):
t, msg = self.sftp._read_response(req)
if t != CMD_STATUS:
raise SFTPError('Expected status')
self.sftp._convert_status(msg)
# convert_status already called
return chunk
def settimeout(self, timeout):