Commit f40f179b authored by Elouan Martinet's avatar Elouan Martinet
Browse files

[storages] Fix comments

parent 947f7f40bdba
......@@ -108,7 +108,7 @@ class S3Storage(Storage):
self.info('Temporary uploaded %s.%s (%s/%s) to S3',
entity.eid, attr, self.bucket, suffixed_key)
if oldkey is not None and oldkey != key:
# remove unneeded old file
# remove unneeded old key
self.delay_deletion(entity, attr, oldkey)
return binary
......@@ -120,7 +120,7 @@ class S3Storage(Storage):
return {}
def entity_updated(self, entity, attr):
"""an entity using this storage for attr has been updatded"""
"""an entity using this storage for attr has been updated"""
return self.entity_added(entity, attr)
def entity_deleted(self, entity, attr):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment