Skip to content
Browse files

update_acl(): fix output message

  • Loading branch information...
1 parent b2b0813 commit 279c608fe2649f18cf0e4da68afc1af4a9e87d74 @mdomsch committed with Dec 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 s3cmd
View
1 s3cmd
@@ -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)

0 comments on commit 279c608

Please sign in to comment.
Something went wrong with that request. Please try again.