diff options
author | [Stephen D. Van Hooser] <[vanhoosr@brandeis.edu]> | 2016-02-03 18:23:18 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-04-25 10:05:24 -0700 |
commit | 8390ce1d94ae76a279142b16b72542bcd25c5964 (patch) | |
tree | 9d44f909e8b387657e2f4ce0cf8d2a675c8142bd | |
parent | c36dc6127cf3b651f64b84de2ff5c07554507963 (diff) |
paramiko.sftp_file.prefetch now backwards compatible
-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 8920dc29..a29a7d79 100644 --- a/paramiko/sftp_file.py +++ b/paramiko/sftp_file.py @@ -394,7 +394,7 @@ class SFTPFile (BufferedFile): .. versionadded:: 1.5.1 """ - if file_size is None: + if file_size is None: file_size = self.stat().st_size; # queue up async reads for the rest of the file |