Ian Lewis  committed 85e72f4

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

  • Participants
  • Parent commits 1d5cc30
  • Branches default

Comments (0)

Files changed (1)

File storages/backends/

 from django.utils.encoding import force_unicode, smart_str
-    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.\