Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Side by Side Diff: README.chromium

Issue 9956052: Fix checksum support to be compatible with Windows. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | boto/s3/resumable_download_handler.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 URL: http://github.com/boto/boto
2 Version: 2.1.1
3 License: MIT License
4
5 This is a forked copy of boto v2.1.1.
6
7
8 Fix checksum support to be compatible with Windows.
9 See http://bugs.python.org/issue1735418 for more info.
10
11 index 5492e14..d7d2aa0 100644
12 --- a/boto/s3/resumable_download_handler.py
13 +++ b/boto/s3/resumable_download_handler.py
14 @@ -220,7 +220,7 @@ class ResumableDownloadHandler(object):
15 gsutil runs), and the user could change some of the file and not
16 realize they have inconsistent data.
17 """
18 - fp = open(file_name, 'r')
19 + fp = open(file_name, 'rb')
20 if key.bucket.connection.debug >= 1:
21 print 'Checking md5 against etag.'
22 hex_md5 = key.compute_md5(fp)[0]
OLDNEW
« no previous file with comments | « no previous file | boto/s3/resumable_download_handler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698