Skip to content

Commit 8e9db9d

Browse files
Merge branch 'develop' of https://github.com/CenterForOpenScience/waterbutler into feature/folder-file-ops-revamp
2 parents c09c80f + 3d9ac2f commit 8e9db9d

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
ChangeLog
33
*********
44

5+
0.34.1 (2017-10-18)
6+
===================
7+
- Fix: Don't crash when a file on Google Drive is missing an md5 in its metadata. This occurs
8+
for non-exportable files like Google Maps, Google Forms, etc.
9+
510
0.34.0 (2017-09-29)
611
===================
712
- ANNOUNCEMENT! Sadly, the WaterButler v0 API is now *undeprecated*. We've discovered that the

waterbutler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '0.34.0'
1+
__version__ = '0.34.1'
22
__import__('pkg_resources').declare_namespace(__name__)

waterbutler/providers/googledrive/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def extra(self):
120120
else:
121121
if not hasattr(ret, 'hashes'):
122122
ret['hashes'] = {}
123-
ret['hashes']['md5'] = self.raw['md5Checksum']
123+
ret['hashes']['md5'] = self.raw.get('md5Checksum') # no md5 for non-exportable file
124124

125125
return ret
126126

0 commit comments

Comments
 (0)