summaryrefslogtreecommitdiff
path: root/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
commitbc6d05f8333ee775aa373817e2ece6323c62186f (patch)
treee7ec5eb02de6d0f0eb0f77ef139527c8a9268d9c /backends/sqlcipher.py
parent4e058b62589defe7a15d633a20b17bed75484d56 (diff)
parentce322fe3c12af877f9d7d40a6a3ccc4001fdf2b6 (diff)
Merge branch 'feature/soledad-api' of ssh://code.leap.se/leap_client into feature/soledad-api
Diffstat (limited to 'backends/sqlcipher.py')
-rw-r--r--backends/sqlcipher.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/sqlcipher.py b/backends/sqlcipher.py
index 6cebcf7d..354fcd31 100644
--- a/backends/sqlcipher.py
+++ b/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(