@@ -169,7 +169,7 @@ def get_blob(self, blob_name):
169169 This will return None if the blob doesn't exist::
170170
171171 >>> from gcloud import storage
172- >>> connection = storage.get_connection(project )
172+ >>> connection = storage.get_connection()
173173 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
174174 >>> print bucket.get_blob('/path/to/blob.txt')
175175 <Blob: my-bucket, /path/to/blob.txt>
@@ -290,7 +290,7 @@ def delete_blob(self, blob_name):
290290
291291 >>> from gcloud.exceptions import NotFound
292292 >>> from gcloud import storage
293- >>> connection = storage.get_connection(project )
293+ >>> connection = storage.get_connection()
294294 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
295295 >>> print bucket.get_all_blobs()
296296 [<Blob: my-bucket, my-file.txt>]
@@ -371,7 +371,7 @@ def upload_file(self, filename, blob_name=None):
371371 For example::
372372
373373 >>> from gcloud import storage
374- >>> connection = storage.get_connection(project )
374+ >>> connection = storage.get_connection()
375375 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
376376 >>> bucket.upload_file('~/my-file.txt', 'remote-text-file.txt')
377377 >>> print bucket.get_all_blobs()
@@ -381,7 +381,7 @@ def upload_file(self, filename, blob_name=None):
381381 using the local filename (**not** the complete path)::
382382
383383 >>> from gcloud import storage
384- >>> connection = storage.get_connection(project )
384+ >>> connection = storage.get_connection()
385385 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
386386 >>> bucket.upload_file('~/my-file.txt')
387387 >>> print bucket.get_all_blobs()
@@ -413,7 +413,7 @@ def upload_file_object(self, file_obj, blob_name=None):
413413 For example::
414414
415415 >>> from gcloud import storage
416- >>> connection = storage.get_connection(project )
416+ >>> connection = storage.get_connection()
417417 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
418418 >>> bucket.upload_file(open('~/my-file.txt'), 'remote-text-file.txt')
419419 >>> print bucket.get_all_blobs()
@@ -423,7 +423,7 @@ def upload_file_object(self, file_obj, blob_name=None):
423423 using the local filename (**not** the complete path)::
424424
425425 >>> from gcloud import storage
426- >>> connection = storage.get_connection(project )
426+ >>> connection = storage.get_connection()
427427 >>> bucket = storage.get_bucket('my-bucket', connection=connection)
428428 >>> bucket.upload_file(open('~/my-file.txt'))
429429 >>> print bucket.get_all_blobs()
@@ -677,7 +677,7 @@ def configure_website(self, main_page_suffix=None, not_found_page=None):
677677 of an index page and a page to use when a blob isn't found::
678678
679679 >>> from gcloud import storage
680- >>> connection = storage.get_connection(project )
680+ >>> connection = storage.get_connection()
681681 >>> bucket = storage.get_bucket(bucket_name, connection=connection)
682682 >>> bucket.configure_website('index.html', '404.html')
683683
0 commit comments