| Index: third_party/gsutil/boto/boto/s3/acl.py
|
| diff --git a/third_party/gsutil/20110627/boto/boto/s3/acl.py b/third_party/gsutil/boto/boto/s3/acl.py
|
| similarity index 97%
|
| rename from third_party/gsutil/20110627/boto/boto/s3/acl.py
|
| rename to third_party/gsutil/boto/boto/s3/acl.py
|
| index 648db79fcab9a34fc94fa53c740676c1be60b302..a7bca8c97c190e896ebaf0ab837add172ced3c89 100644
|
| --- a/third_party/gsutil/20110627/boto/boto/s3/acl.py
|
| +++ b/third_party/gsutil/boto/boto/s3/acl.py
|
| @@ -24,7 +24,8 @@ from boto.s3.user import User
|
|
|
| CannedACLStrings = ['private', 'public-read',
|
| 'public-read-write', 'authenticated-read',
|
| - 'bucket-owner-read', 'bucket-owner-full-control']
|
| + 'bucket-owner-read', 'bucket-owner-full-control',
|
| + 'log-delivery-write']
|
|
|
|
|
| class Policy:
|
| @@ -87,8 +88,8 @@ class ACL:
|
| email_address=email_address)
|
| self.grants.append(grant)
|
|
|
| - def add_user_grant(self, permission, user_id):
|
| - grant = Grant(permission=permission, type='CanonicalUser', id=user_id)
|
| + def add_user_grant(self, permission, user_id, display_name=None):
|
| + grant = Grant(permission=permission, type='CanonicalUser', id=user_id, display_name=display_name)
|
| self.grants.append(grant)
|
|
|
| def startElement(self, name, attrs, connection):
|
|
|