summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2005-11-25 19:09:59 +0000
committerRobey Pointer <robey@lag.net>2005-11-25 19:09:59 +0000
commit76eafefcead9e98c7fb488688a7c365e40f58417 (patch)
tree20e749913c92486f3eeef06f2da2834bd6760efd
parentba6165a4aa63b3b51ee9f34bcf9626e87ba38555 (diff)
[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
-rw-r--r--paramiko/sftp_file.py2
1 files changed, 1 insertions, 1 deletions
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):