Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2298)

Unified Diff: boto/gs/acl.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « boto/fps/connection.py ('k') | boto/gs/bucket.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/gs/acl.py
diff --git a/boto/gs/acl.py b/boto/gs/acl.py
index 33aaadff84e780235fb5c1b38391417600aba2f2..0846f018a3e7be5e9993cb1813f20f921ad61ab9 100755
--- a/boto/gs/acl.py
+++ b/boto/gs/acl.py
@@ -42,7 +42,7 @@ USER_BY_EMAIL = 'UserByEmail'
USER_BY_ID = 'UserById'
-CannedACLStrings = ['private', 'public-read',
+CannedACLStrings = ['private', 'public-read', 'project-private',
'public-read-write', 'authenticated-read',
'bucket-owner-read', 'bucket-owner-full-control']
@@ -54,6 +54,10 @@ class ACL:
self.parent = parent
self.entries = []
+ @property
+ def acl(self):
+ return self
+
def __repr__(self):
# Owner is optional in GS ACLs.
if hasattr(self, 'owner'):
« no previous file with comments | « boto/fps/connection.py ('k') | boto/gs/bucket.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698