Closed olaf7 closed 12 years ago
The proper coures of action here would seem to be triggering no error.
Perhaps you could create a test for this? In tests/test_bucket.py
there is a test case called DeleteTests
, I suggest adding a test here. Will you champion this or can I consider this deferred until a later date?
Sorry I took so very long to reply. Did not have the time before to commence further on the project. Issue is not there when using Python 2.6 instead of 2.5. Just like the remark in simples3/bucket.py about HTTP 204 suggests.
I use the
S3Bucket.listdir
API call a lot. It gives a list of files. I iterate through it and check the filedate if it is an old file I rundel s3b[key]
. That command is on a separate line, and is the line triggering the exception.Basically: