summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/sftp_file.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py
index 11ca3279..3cc453fa 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -464,7 +464,6 @@ class SFTPFile (BufferedFile):
raise SFTPError('Expected data')
data = msg.get_string()
offset, length = self._prefetch_reads.pop(0)
- assert length == len(data)
self._prefetch_data[offset] = data
if len(self._prefetch_reads) == 0:
self._prefetch_done = True