bugfix for S3 storage backend

This commit is contained in:
James Turk 2012-03-29 23:18:32 -04:00
parent d8288c7647
commit 42126e46a9

View File

@ -19,7 +19,7 @@ class S3Storage(object):
def _get_opt(self, doc_class, setting, default=None):
""" doc_class first, then setting, then default """
self.kernel.doc_classes[doc_class].get(setting,
return self.kernel.doc_classes[doc_class].get(setting,
getattr(settings, setting, default))
def put(self, tracked_doc, data, content_type):