blob: 14982acfe87a56d8a624e02fc0e6fce7f960f2ef [file] [log] [blame]
URL: http://github.com/boto/boto
Version: 2.1.1
License: MIT License
This is a forked copy of boto v2.1.1.
Fix checksum support to be compatible with Windows.
See http://bugs.python.org/issue1735418 for more info.
index 5492e14..d7d2aa0 100644
--- a/boto/s3/resumable_download_handler.py
+++ b/boto/s3/resumable_download_handler.py
@@ -220,7 +220,7 @@ class ResumableDownloadHandler(object):
gsutil runs), and the user could change some of the file and not
realize they have inconsistent data.
"""
- fp = open(file_name, 'r')
+ fp = open(file_name, 'rb')
if key.bucket.connection.debug >= 1:
print 'Checking md5 against etag.'
hex_md5 = key.compute_md5(fp)[0]