call update_metadata() to send the updated metadata

This commit is contained in:
Ryan Tucker 2010-01-04 16:09:34 -05:00
parent 8b3283aeb8
commit 5a5f190929

View file

@ -306,6 +306,7 @@ for i in sorted(glob.glob(fileglob)):
key.set_metadata('backuppc_cmd', cmd) key.set_metadata('backuppc_cmd', cmd)
key.set_metadata('backuppc_mesg', mesg) key.set_metadata('backuppc_mesg', mesg)
key.set_acl('private') key.set_acl('private')
key.update_metadata()
key.close() key.close()
retry_count = max_retries+1 retry_count = max_retries+1
except boto.exception.S3ResponseError as e: except boto.exception.S3ResponseError as e: