summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-11-13 18:15:12 -0300
committerVictor Shyba <victor1984@riseup.net>2017-11-13 18:17:16 -0300
commit6d26619473c01f3c855319a8d7f0cbf1e657ab30 (patch)
tree2a69f401f095bc5b22515ca6a08c3626547db241 /src/leap/soledad/server
parent1d4f43570345fc644b42a96dfd70cd72435f55fd (diff)
[style] fixes from code review
Diffstat (limited to 'src/leap/soledad/server')
-rw-r--r--src/leap/soledad/server/_blobs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/server/_blobs.py b/src/leap/soledad/server/_blobs.py
index f44afd94..d608845d 100644
--- a/src/leap/soledad/server/_blobs.py
+++ b/src/leap/soledad/server/_blobs.py
@@ -136,12 +136,12 @@ class FilesystemBlobsBackend(object):
if not os.path.isfile(blob_path):
request.setResponseCode(404)
return "Blob doesn't exists: %s" % blob_id
+ self.__touch(blob_path + '.deleted')
os.unlink(blob_path)
try:
os.unlink(blob_path + '.flags')
except Exception:
pass
- self.__touch(blob_path + '.deleted')
def get_blob_size(user, blob_id, namespace=''):
raise NotImplementedError