@@ -170,7 +170,7 @@ def get_blob(self, blob_name):
170170 This will return None if the blob doesn't exist::
171171
172172 >>> from gcloud import storage
173- >>> connection = storage.get_connection(project )
173+ >>> connection = storage.get_connection()
174174 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
175175 >>> print bucket.get_blob('/path/to/blob.txt')
176176 <Blob: my-bucket, /path/to/blob.txt>
@@ -291,7 +291,7 @@ def delete_blob(self, blob_name):
291291
292292 >>> from gcloud.exceptions import NotFound
293293 >>> from gcloud import storage
294- >>> connection = storage.get_connection(project )
294+ >>> connection = storage.get_connection()
295295 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
296296 >>> print bucket.get_all_blobs()
297297 [<Blob: my-bucket, my-file.txt>]
@@ -372,7 +372,7 @@ def upload_file(self, filename, blob_name=None):
372372 For example::
373373
374374 >>> from gcloud import storage
375- >>> connection = storage.get_connection(project )
375+ >>> connection = storage.get_connection()
376376 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
377377 >>> bucket.upload_file('~/my-file.txt', 'remote-text-file.txt')
378378 >>> print bucket.get_all_blobs()
@@ -382,7 +382,7 @@ def upload_file(self, filename, blob_name=None):
382382 using the local filename (**not** the complete path)::
383383
384384 >>> from gcloud import storage
385- >>> connection = storage.get_connection(project )
385+ >>> connection = storage.get_connection()
386386 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
387387 >>> bucket.upload_file('~/my-file.txt')
388388 >>> print bucket.get_all_blobs()
@@ -414,7 +414,7 @@ def upload_file_object(self, file_obj, blob_name=None):
414414 For example::
415415
416416 >>> from gcloud import storage
417- >>> connection = storage.get_connection(project )
417+ >>> connection = storage.get_connection()
418418 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
419419 >>> bucket.upload_file(open('~/my-file.txt'), 'remote-text-file.txt')
420420 >>> print bucket.get_all_blobs()
@@ -424,7 +424,7 @@ def upload_file_object(self, file_obj, blob_name=None):
424424 using the local filename (**not** the complete path)::
425425
426426 >>> from gcloud import storage
427- >>> connection = storage.get_connection(project )
427+ >>> connection = storage.get_connection()
428428 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
429429 >>> bucket.upload_file(open('~/my-file.txt'))
430430 >>> print bucket.get_all_blobs()
@@ -678,7 +678,7 @@ def configure_website(self, main_page_suffix=None, not_found_page=None):
678678 of an index page and a page to use when a blob isn't found::
679679
680680 >>> from gcloud import storage
681- >>> connection = storage.get_connection(project )
681+ >>> connection = storage.get_connection()
682682 >>> bucket = storage.get_bucket(bucket_name, connection=connection)
683683 >>> bucket.configure_website('index.html', '404.html')
684684
0 commit comments