diff options
author | Torkil Gustavsen <torkil@gmail.com> | 2015-07-23 14:29:03 +0200 |
---|---|---|
committer | Torkil Gustavsen <torkil@gmail.com> | 2015-07-23 14:29:03 +0200 |
commit | 49072f3537a8981e9d448c22481a1d2b92c03643 (patch) | |
tree | 2cc0ff69d2a1ba409e3406951ce1489040690d96 | |
parent | a671dafb8775e585086600a1fddd364def5aeb20 (diff) |
prefetch's file_size param is not optional
-rw-r--r-- | paramiko/sftp_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py index 8f73dcbf..c5b65488 100644 --- a/paramiko/sftp_file.py +++ b/paramiko/sftp_file.py @@ -379,7 +379,7 @@ class SFTPFile (BufferedFile): """ self.pipelined = pipelined - def prefetch(self, file_size=None): + def prefetch(self, file_size): """ Pre-fetch the remaining contents of this file in anticipation of future `.read` calls. If reading the entire file, pre-fetching can |