Commits

Ian Lewis committed 85e72f4

Fixed an import error with newer versions of Boto by importing S3ResponseError from boto.exception

  • Participants
  • Parent commits 1d5cc30

Comments (0)

Files changed (1)

storages/backends/s3boto.py

 from django.utils.encoding import force_unicode, smart_str
 
 try:
-    from boto.s3.connection import S3Connection, S3ResponseError
+    from boto.s3.connection import S3Connection
+    from boto.exception import S3ResponseError
     from boto.s3.key import Key
 except ImportError:
     raise ImproperlyConfigured, "Could not load Boto's S3 bindings.\