summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/l2db/remote/http_database.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/l2db/remote/http_database.py')
-rw-r--r--common/src/leap/soledad/common/l2db/remote/http_database.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/leap/soledad/common/l2db/remote/http_database.py b/common/src/leap/soledad/common/l2db/remote/http_database.py
index d8dcfd55..b2b48dee 100644
--- a/common/src/leap/soledad/common/l2db/remote/http_database.py
+++ b/common/src/leap/soledad/common/l2db/remote/http_database.py
@@ -92,9 +92,9 @@ class HTTPDatabase(http_client.HTTPClientBase, Database):
return None
except errors.HTTPError, e:
if (e.status == DOCUMENT_DELETED_STATUS and
- 'x-u1db-rev' in e.headers):
- res = None
- headers = e.headers
+ 'x-u1db-rev' in e.headers):
+ res = None
+ headers = e.headers
else:
raise
doc_rev = headers['x-u1db-rev']