GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Forward connection w/o interception to 'ACL.save'. · googleapis/google-cloud-python@2478c71

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • gcloud/storage
    • blob.py
    • test_blob.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎gcloud/storage/blob.py‎

Copy file name to clipboardExpand all lines: gcloud/storage/blob.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,6 @@ def make_public(self, connection=None):
520520
:param connection: Optional. The connection to use when sending
521521
requests. If not provided, falls back to default.
522522
"""
523-
if connection is None:
524-
connection = self.connection
525523
self.acl.all().grant_read()
526524
self.acl.save(connection=connection)
527525

Collapse file

‎gcloud/storage/test_blob.py‎

Copy file name to clipboardExpand all lines: gcloud/storage/test_blob.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ def test_upload_from_string_w_text(self):
729729
self.assertEqual(headers['Content-Type'], 'text/plain')
730730
self.assertEqual(rq[0]['body'], ENCODED)
731731

732-
def test_make_public(self):
732+
def test_make_public_w_implicit_ocnnection(self):
733733
from gcloud.storage.acl import _ACLEntity
734734
from gcloud.storage._testing import _monkey_defaults
735735
BLOB_NAME = 'blob-name'

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.