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 Sep 26, 2014
1 parent 1823b0f commit e346282
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 @@ -230,7 +230,7 @@ def api_request(self, method, path=None, 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 @@ -253,7 +253,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 @@ -312,7 +312,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 @@ -335,7 +335,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 e346282

Please sign in to comment.