summaryrefslogtreecommitdiff
path: root/src/leap/soledad/backends
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-06 19:14:50 -0200
committerdrebs <drebs@leap.se>2013-02-06 19:14:50 -0200
commitc1289d25f25814e1b34bb1ccf3e55b809d0c5f96 (patch)
tree7a9d2756c0ae86aae6ff3a336500047154965002 /src/leap/soledad/backends
parent4a0ecb6832f28453976757fe4a7c4a5f1f811105 (diff)
Add test scenario for SQLCipher backend using LeapSyncTarget.
Diffstat (limited to 'src/leap/soledad/backends')
-rw-r--r--src/leap/soledad/backends/couch.py1
-rw-r--r--src/leap/soledad/backends/leap_backend.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/backends/couch.py b/src/leap/soledad/backends/couch.py
index 11122aa8..8757f5af 100644
--- a/src/leap/soledad/backends/couch.py
+++ b/src/leap/soledad/backends/couch.py
@@ -243,6 +243,7 @@ class CouchSyncTarget(LocalSyncTarget):
source_replica_uid, source_replica_generation,
source_replica_transaction_id)
+
class CouchServerState(ServerState):
"""
Inteface of the WSGI server with the CouchDB backend.
diff --git a/src/leap/soledad/backends/leap_backend.py b/src/leap/soledad/backends/leap_backend.py
index f9d37e19..41027e50 100644
--- a/src/leap/soledad/backends/leap_backend.py
+++ b/src/leap/soledad/backends/leap_backend.py
@@ -200,4 +200,3 @@ class LeapSyncTarget(HTTPSyncTarget):
res = self._parse_sync_stream(data, return_doc_cb, ensure_callback)
data = None
return res['new_generation'], res['new_transaction_id']
-