Commits

Rich Leland committed 058390c

Properly handle boto dev versioning, fixes #152

  • Participants
  • Parent commits 02afdf3

Comments (0)

Files changed (1)

File storages/backends/s3boto.py

 
 from storages.utils import setting
 
-boto_version_info = tuple([int(i) for i in boto_version.split('.')])
+boto_version_info = tuple([int(i) for i in boto_version.split('-')[0].split('.')])
 
 if boto_version_info[:2] < (2, 4):
     raise ImproperlyConfigured("The installed Boto library must be 2.4 or "