fix wrong filename for complete semaphore

This commit is contained in:
Ryan Tucker 2010-01-06 22:43:16 -05:00
parent 0694a2e8c7
commit 2581d85058

View file

@ -334,7 +334,7 @@ for i in sorted(glob.glob(fileglob)):
# finalize the backup # finalize the backup
key = MyKey(bucket) key = MyKey(bucket)
key.key = '%sCOMPLETE' % filehead key.key = '%sCOMPLETE' % os.path.basename(filehead)
key.set_contents_from_string('%s %s "%s"' % (beginning, time.time(), mesg)) key.set_contents_from_string('%s %s "%s"' % (beginning, time.time(), mesg))
key.close() key.close()