From b848468182fdeecb4c805e8e2d0b0e0109cd5209 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Fri, 26 Sep 2014 15:06:36 -0400 Subject: [PATCH] Fix #141: remove spurious *args / **kwargs from API methods. --- gcloud/storage/connection.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcloud/storage/connection.py b/gcloud/storage/connection.py index 1cf30fbe4cf9..e0a31bfdc14d 100644 --- a/gcloud/storage/connection.py +++ b/gcloud/storage/connection.py @@ -238,7 +238,7 @@ def api_request(self, method, path, query_params=None, return content - def get_all_buckets(self, *args, **kwargs): + def get_all_buckets(self): """Get all buckets in the project. This will not populate the list of keys available @@ -261,7 +261,7 @@ def get_all_buckets(self, *args, **kwargs): return list(self) - def get_bucket(self, bucket_name, *args, **kwargs): + def get_bucket(self, bucket_name): """Get a bucket by name. If the bucket isn't found, @@ -320,7 +320,7 @@ def lookup(self, bucket_name): except exceptions.NotFoundError: return None - def create_bucket(self, bucket, *args, **kwargs): + def create_bucket(self, bucket): """Create a new bucket. For example:: @@ -343,7 +343,7 @@ def create_bucket(self, bucket, *args, **kwargs): data={'name': bucket.name}) return Bucket.from_dict(response, connection=self) - def delete_bucket(self, bucket, force=False, *args, **kwargs): + def delete_bucket(self, bucket, force=False): """Delete a bucket. You can use this method to delete a bucket by name,