1. lpetre
  2. django-storages

Commits

David Larlet  committed 4767343 Merge

Merging bug_70 branch

  • Participants
  • Parent commits def7324, 1ed3243
  • Branches default

Comments (0)

Files changed (1)

File storages/backends/mosso.py

View file
  • Ignore whitespace
         """
         Deletes the specified file from the storage system.
         """
-        self.container.delete_object(name)
+        # If the file exists, delete it.
+        if self.exists(name):
+            self.container.delete_object(name)
 
     def exists(self, name):
         """