summaryrefslogtreecommitdiff
path: root/src/leap/soledad/shared_db.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-03-11 16:54:58 -0300
committerdrebs <drebs@leap.se>2013-03-11 17:43:19 -0300
commitcbff516a2542a9d48704774bbd2477e5a1587d6e (patch)
treecb5c14c82c2519a6d88de60e9c937532c71132e8 /src/leap/soledad/shared_db.py
parentab1e1c8862b70d47c7e5f10267639ef71b3bc536 (diff)
Refactor and organize bootstrap sequence.
Diffstat (limited to 'src/leap/soledad/shared_db.py')
-rw-r--r--src/leap/soledad/shared_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/shared_db.py b/src/leap/soledad/shared_db.py
index c27bba71..27018701 100644
--- a/src/leap/soledad/shared_db.py
+++ b/src/leap/soledad/shared_db.py
@@ -99,6 +99,6 @@ class SoledadSharedDatabase(http_database.HTTPDatabase):
"""
Modified method to allow for unauth request.
"""
- db = http_database.HTTPDatabase(self._url, factory=self._factory,
- creds=self._creds)
+ db = http_database.HTTPDatabase(self._url.geturl(),
+ document_factory=self._factory)
return db.get_doc(doc_id)