From 76eafefcead9e98c7fb488688a7c365e40f58417 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Fri, 25 Nov 2005 19:09:59 +0000 Subject: [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 --- paramiko/sftp_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py index 4ecf9c41..e8f42dcd 100644 --- a/paramiko/sftp_file.py +++ b/paramiko/sftp_file.py @@ -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): -- cgit v1.2.3