From 9ec5ebfe7e8e64ae2cba9242f9776947ab8cb8e4 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 17 May 2013 18:12:20 +0100 Subject: [PATCH] Fix incorrect calls to create and delete S3 buckets in S3Container. refs #1971 Signed-off-by: Daira Hopwood --- src/allmydata/storage/backends/cloud/s3/s3_container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/storage/backends/cloud/s3/s3_container.py b/src/allmydata/storage/backends/cloud/s3/s3_container.py index 0a9b8af6..3391300a 100644 --- a/src/allmydata/storage/backends/cloud/s3/s3_container.py +++ b/src/allmydata/storage/backends/cloud/s3/s3_container.py @@ -56,10 +56,10 @@ class S3Container(ContainerRetryMixin, ContainerListMixin): return ("<%s %r>" % (self.__class__.__name__, self.container_name,)) def create(self): - return self._do_request('create bucket', self.client.create, self.container_name) + return self._do_request('create bucket', self.client.create_bucket, self.container_name) def delete(self): - return self._do_request('delete bucket', self.client.delete, self.container_name) + return self._do_request('delete bucket', self.client.delete_bucket, self.container_name) def list_some_objects(self, **kwargs): return self._do_request('list objects', self.client.get_bucket, self.container_name, **kwargs) -- 2.45.2