diff options
author | drebs <drebs@leap.se> | 2014-03-12 17:27:42 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2014-03-12 17:34:23 -0300 |
commit | 7fda4c5448cd3566a802777149c511a1ccc2a143 (patch) | |
tree | 80b2fd944747cacf9f89730fd09bf43ecb5c5af4 | |
parent | 9c0020132980ed3608f3d662f2a0df43d44dc042 (diff) |
Do not autocreate remote db when syncing (#5302).
-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 |