summaryrefslogtreecommitdiff
path: root/src/leap/soledad/backends/sqlcipher.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-06 20:05:50 -0200
committerdrebs <drebs@leap.se>2013-02-06 20:05:50 -0200
commit4c520d9ae0f677cc1b5cef20c197c1751335faea (patch)
tree1a33e8eb0daac068ca241111e1bc11c58976ba3b /src/leap/soledad/backends/sqlcipher.py
parentfb13d4d6ea63c92cc97e81d61a556de8001b4ba1 (diff)
parent634f82d95984b4bb78cbfdd52e6e75116c8df53d (diff)
Merge branch 'feature/soledad-api' of ssh://code.leap.se/leap_client into feature/soledad-api
Diffstat (limited to 'src/leap/soledad/backends/sqlcipher.py')
-rw-r--r--src/leap/soledad/backends/sqlcipher.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/soledad/backends/sqlcipher.py b/src/leap/soledad/backends/sqlcipher.py
index 6cebcf7d..354fcd31 100644
--- a/src/leap/soledad/backends/sqlcipher.py
+++ b/src/leap/soledad/backends/sqlcipher.py
@@ -131,8 +131,11 @@ class SQLCipherDatabase(SQLitePartialExpandDatabase):
"""
from u1db.sync import Synchronizer
from leap.soledad.backends.leap_backend import LeapSyncTarget
- return Synchronizer(self, LeapSyncTarget(url, creds=creds),
- soledad=self._soledad).sync(autocreate=autocreate)
+ return Synchronizer(
+ self,
+ LeapSyncTarget(url,
+ creds=creds,
+ soledad=self._soledad)).sync(autocreate=autocreate)
def _extra_schema_init(self, c):
c.execute(