Issue #222 new

S3 class not deleting files

chris7
created an issue

I'm trying to delete a file with S3BotoStorage, but it is failing to delete. Here's a small snippet showing this:

while remote_storage.exists(filename):
    remote_storage.delete(filename)
    print(remote_storage.exists(filename))

After the delete command, exists shows True inside the while loop. Is this a latency issue? I'm using: django-storages==1.1.8 Django==1.8.3 boto==2.38.0

For reference, this is for the project wooey, which the aformentioned code is from:

https://github.com/wooey/Wooey/blob/dd57d7d9a76a4bc1357402c828d78b9668bd48ee/wooey/tasks.py

Comments (1)

  1. Log in to comment