diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-08-30 20:16:47 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-08-30 20:16:47 -0500 |
commit | 2886b340d33c8f5c9cef933089fc1fce525da6aa (patch) | |
tree | c0f86bbdb41b33bd97e92f19b751dad898daaa62 /mediagoblin/storage.py | |
parent | 04a7b06d613dd3ab90cde4eb268087e28d92017c (diff) | |
parent | 502073f2bf65380be18b349a678ac075777889a4 (diff) | |
download | mediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.tar.lz mediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.tar.xz mediagoblin-2886b340d33c8f5c9cef933089fc1fce525da6aa.zip |
Merge remote branch 'remotes/jwandborg/f403_ability_to_delete'
Diffstat (limited to 'mediagoblin/storage.py')
-rw-r--r-- | mediagoblin/storage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/storage.py b/mediagoblin/storage.py index 7ada95e1..82b7a5ff 100644 --- a/mediagoblin/storage.py +++ b/mediagoblin/storage.py @@ -281,7 +281,8 @@ class CloudFilesStorage(StorageInterface): def delete_file(self, filepath): # TODO: Also delete unused directories if empty (safely, with # checks to avoid race conditions). - self.container.delete_object(filepath) + self.container.delete_object( + self._resolve_filepath(filepath)) def file_url(self, filepath): return '/'.join([ |