Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #141: remove spurious *args / **kwargs from API methods. #201

Merged
merged 1 commit into from
Oct 1, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gcloud/storage/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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::
Expand All @@ -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,
Expand Down