Skip to content

Commit

Permalink
update_acl(): fix output message
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Domsch authored and mdomsch committed Dec 8, 2012
1 parent b2b0813 commit 279c608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions s3cmd
Expand Up @@ -1621,6 +1621,7 @@ def update_acl(s3, uri, seq_label=""):
retsponse = s3.set_acl(uri, acl)
if retsponse['status'] == 200:
if cfg.acl_public in (True, False):
set_to_acl = cfg.acl_public and "Public" or "Private"
output(u"%s: ACL set to %s %s" % (uri, set_to_acl, seq_label))
else:
output(u"%s: ACL updated" % uri)
Expand Down

0 comments on commit 279c608

Please sign in to comment.