summaryrefslogtreecommitdiff
path: root/server/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-04-29 13:29:23 -0300
committerdrebs <drebs@leap.se>2014-05-22 18:43:48 -0300
commit8e750af78bd8f9a37d1b095712b66e6ecdb3e102 (patch)
tree91a5691cbfdd81d93a7b2b2a2da4cf3d91699833 /server/src/leap
parent5cb40a959af827e4eadde1c047664c4f4c0ae01d (diff)
Cleanup and pep8 fix.
Diffstat (limited to 'server/src/leap')
-rw-r--r--server/src/leap/soledad/server/lock_resource.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/leap/soledad/server/lock_resource.py b/server/src/leap/soledad/server/lock_resource.py
index a7870f77..0a602e26 100644
--- a/server/src/leap/soledad/server/lock_resource.py
+++ b/server/src/leap/soledad/server/lock_resource.py
@@ -178,9 +178,8 @@ class LockResource(object):
error=InvalidTokenError.wire_description)
else:
self._shared_db.delete_doc(lock_doc)
- self._responder.send_response_json(200) # success: should use 204
- # but u1db does not
- # support it.
+ # respond success: should use 204 but u1db does not support it.
+ self._responder.send_response_json(200)
def _remaining(self, lock_doc, now):
"""