Skip to content

Commit

Permalink
Fix #141: remove spurious *args / **kwargs from API methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Oct 1, 2014
1 parent 9af7d1b commit b848468
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit b848468

Please sign in to comment.