Open Miserlou opened 10 years ago
Maybe adding this would work:
http://boto.readthedocs.org/en/latest/s3_tut.html#restoring-objects-from-glacier
key = bucket.get_key('logs/testlog1.log') print key.ongoing_restore True
If value is False we could attempt the retrieval of the file. Otherwise you'll get the except.
Got this exception when running process_aws_billing
Don't know why - I assume the file just wasn't ready yet.
It sorted itself out eventually, so it's not critical yet, but I'd like to have better handling when this occurs.