... | ... |
@@ -1621,6 +1621,7 @@ def update_acl(s3, uri, seq_label=""): |
1621 | 1621 |
retsponse = s3.set_acl(uri, acl) |
1622 | 1622 |
if retsponse['status'] == 200: |
1623 | 1623 |
if cfg.acl_public in (True, False): |
1624 |
+ set_to_acl = cfg.acl_public and "Public" or "Private" |
|
1624 | 1625 |
output(u"%s: ACL set to %s %s" % (uri, set_to_acl, seq_label)) |
1625 | 1626 |
else: |
1626 | 1627 |
output(u"%s: ACL updated" % uri) |