diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-03-14 11:41:55 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-03-14 11:41:55 -0300 |
commit | e51d656532294fa1bdf2a78ccd8426ccb97dd07c (patch) | |
tree | eeb21d98a7f37248fd6db5787fe350a55017a0ca /client | |
parent | 9c0020132980ed3608f3d662f2a0df43d44dc042 (diff) | |
parent | b85c9797827731b86798adc958cee0c114667918 (diff) |
Merge remote-tracking branch 'refs/remotes/drebs/feature/5302_do-not-try-to-create-db-when-syncing' into develop
Diffstat (limited to 'client')
-rw-r--r-- | client/changes/feature_5302_do-not-create-user-db-when-syncing | 2 | ||||
-rw-r--r-- | client/src/leap/soledad/client/__init__.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/client/changes/feature_5302_do-not-create-user-db-when-syncing b/client/changes/feature_5302_do-not-create-user-db-when-syncing new file mode 100644 index 00000000..c3270ab1 --- /dev/null +++ b/client/changes/feature_5302_do-not-create-user-db-when-syncing @@ -0,0 +1,2 @@ + o Do not autocreate remote user database when syncing. Tapicero should make + sure that that db is created when the user is created. Closes #5302. diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py index a8d68c88..46e3cd5f 100644 --- a/client/src/leap/soledad/client/__init__.py +++ b/client/src/leap/soledad/client/__init__.py @@ -1091,7 +1091,7 @@ class Soledad(object): with Soledad.syncing_lock[self._db._get_replica_uid()]: local_gen = self._db.sync( urlparse.urljoin(self.server_url, 'user-%s' % self._uuid), - creds=self._creds, autocreate=True) + creds=self._creds, autocreate=False) signal(SOLEDAD_DONE_DATA_SYNC, self._uuid) return local_gen |