From b60ee969ca9dacd375f1ff9c931172f3c41a15e8 Mon Sep 17 00:00:00 2001 From: James Turk Date: Fri, 13 Apr 2012 22:40:07 -0400 Subject: [PATCH] change create_bucket to get, try and avoid these 409s" --- oyster/storage/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/storage/s3.py b/oyster/storage/s3.py index d3c24f8..4d10790 100644 --- a/oyster/storage/s3.py +++ b/oyster/storage/s3.py @@ -14,7 +14,7 @@ class S3Storage(object): @property def bucket(self): if not self._bucket: - self._bucket = self.s3conn.create_bucket(settings.AWS_BUCKET) + self._bucket = self.s3conn.get_bucket(settings.AWS_BUCKET) return self._bucket def _get_opt(self, doc_class, setting, default=None):