From 5a5f1909299a1a94fc04460502d06b067e0551a8 Mon Sep 17 00:00:00 2001 From: Ryan Tucker Date: Mon, 4 Jan 2010 16:09:34 -0500 Subject: [PATCH] call update_metadata() to send the updated metadata --- BackupPC_archiveHost_s3 | 1 + 1 file changed, 1 insertion(+) diff --git a/BackupPC_archiveHost_s3 b/BackupPC_archiveHost_s3 index 5eed91c..efb784d 100755 --- a/BackupPC_archiveHost_s3 +++ b/BackupPC_archiveHost_s3 @@ -306,6 +306,7 @@ for i in sorted(glob.glob(fileglob)): key.set_metadata('backuppc_cmd', cmd) key.set_metadata('backuppc_mesg', mesg) key.set_acl('private') + key.update_metadata() key.close() retry_count = max_retries+1 except boto.exception.S3ResponseError as e: