summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author[Stephen D. Van Hooser] <[vanhoosr@brandeis.edu]>2016-02-03 18:19:19 -0500
committerJeff Forcier <jeff@bitprophet.org>2016-04-25 10:05:24 -0700
commitc36dc6127cf3b651f64b84de2ff5c07554507963 (patch)
treef8a28c320a0da0fbd96079ac2e6ad9879a030b53
parent24f3ed3fccb6b4321fefb9f1b3fdb0c1067f6a26 (diff)
paramiko.sftp_file.prefetch now backwards compatible
-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 425a469a..8920dc29 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -395,7 +395,7 @@ class SFTPFile (BufferedFile):
"""
if file_size is None:
- file_size = self.stat().st_size;
+ file_size = self.stat().st_size;
# queue up async reads for the rest of the file
chunks = []