Commits

pendletongp committed 29ba17d

this was left out of the previous commit. ..tempfile was removed so it can no longer be used as a fallback.

Comments (0)

Files changed (1)

storages/backends/s3boto.py

 import mimetypes
 from gzip import GzipFile
 import datetime
+from tempfile import SpooledTemporaryFile
 
 try:
     from cStringIO import StringIO
 except ImportError:
     from StringIO import StringIO  # noqa
 
-try:
-    from tempfile import SpooledTemporaryFile
-except ImportError:
-    from ..tempfile import SpooledTemporaryFile
-
 from django.core.files.base import File
 from django.core.files.storage import Storage
 from django.core.exceptions import ImproperlyConfigured, SuspiciousOperation