summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-04 16:47:21 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-04 16:47:21 -0300
commit5739d2c3a653639887f7af82795bcb5e8b4b9748 (patch)
tree6e4a46f56e499e79568843ae302528f5c9ac5d66
parenta0a7da00151456c5ba6372fa039d462dd2ad8f8f (diff)
Revert "Stop creating per-user databases. Closes #4626."
This reverts commit 6eeed5c116d38ebae7d9309dd2f11660f6cff37e.
-rw-r--r--client/changes/feature_4626_stop-creating-per-user-databases2
-rw-r--r--client/src/leap/soledad/client/__init__.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/client/changes/feature_4626_stop-creating-per-user-databases b/client/changes/feature_4626_stop-creating-per-user-databases
deleted file mode 100644
index b967abd3..00000000
--- a/client/changes/feature_4626_stop-creating-per-user-databases
+++ /dev/null
@@ -1,2 +0,0 @@
- o Stop creating per-user databases, as now there's another service that does
- this automatically (tapicero). Closes #4626.
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py
index c168bfdc..62f93b3d 100644
--- a/client/src/leap/soledad/client/__init__.py
+++ b/client/src/leap/soledad/client/__init__.py
@@ -1038,7 +1038,7 @@ class Soledad(object):
if self._db:
local_gen = self._db.sync(
urlparse.urljoin(self.server_url, 'user-%s' % self._uuid),
- creds=self._creds, autocreate=False)
+ creds=self._creds, autocreate=True)
signal(SOLEDAD_DONE_DATA_SYNC, self._uuid)
return local_gen