diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-05-02 11:51:58 -0700 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-05-13 16:08:06 -0700 |
commit | 9847eb8b9fb5864019e0fe0f2da448c2796f02b6 (patch) | |
tree | 91ef58d960ec8f02031dbf4da09d9511d1d2023e /src/obsync | |
parent | e8504c0be13c71b1f4021f2430ce9ae1bb8658fb (diff) | |
download | ceph-9847eb8b9fb5864019e0fe0f2da448c2796f02b6.tar.gz |
rgw: put XML-to-bin translation into a librgw
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/obsync')
-rwxr-xr-x | src/obsync/obsync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obsync/obsync.py b/src/obsync/obsync.py index 63cbeebcd24..da0b6ace98f 100755 --- a/src/obsync/obsync.py +++ b/src/obsync/obsync.py @@ -343,7 +343,7 @@ def test_acl_policy(): "<AccessControlPolicy xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\">" + \ "<Owner><ID>foo</ID><DisplayName>MrFoo</DisplayName></Owner><AccessControlList>" + \ "<Grant><Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " + \ -"xsi:type=\"CanonicalUser\"><ID>*** Owner-Canonical-User-ID ***</ID>" + \ +"xsi:type=\"CanonicalUser\"><ID>bar</ID>" + \ "<DisplayName>display-name</DisplayName></Grantee>" + \ "<Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy>" test1 = AclPolicy.from_xml(test1_xml) |