summaryrefslogtreecommitdiff
path: root/backends/sqlcipher.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-06 18:01:58 -0200
committerdrebs <drebs@leap.se>2013-02-06 18:03:44 -0200
commit8b9aebd6bfe95b3b6f781116910db6340eda6b95 (patch)
tree3a48cc3141fca0e9b0daf8b988d577cbd4144b41 /backends/sqlcipher.py
parentc1be293ab0ad258b1febdd11a03bab105ae83739 (diff)
SQLCipher syncs using LeapSyncTarget.
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(