summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-01-16 09:55:27 -0200
committerdrebs <drebs@leap.se>2013-01-16 09:55:27 -0200
commitc60505094e20ffbae5753383cfd73825c7a0114d (patch)
treedd857b0e9207a5589a37e9c65be0a40f94c1ff39 /backends
parent984a33de1322437e3979e7324ae042daa52d91e9 (diff)
Fix copy_database for couch tests.
Diffstat (limited to 'backends')
-rw-r--r--backends/couch.py6
-rw-r--r--backends/objectstore.py2
2 files changed, 3 insertions, 5 deletions
diff --git a/backends/couch.py b/backends/couch.py
index 5cde4805..78026af8 100644
--- a/backends/couch.py
+++ b/backends/couch.py
@@ -41,10 +41,8 @@ class CouchDatabase(ObjectStore):
#-------------------------------------------------------------------------
def _get_doc(self, doc_id, check_for_conflicts=False):
- """Get just the document content, without fancy handling.
-
- Conflicts do not happen on server side, so there's no need to check
- for them.
+ """
+ Get just the document content, without fancy handling.
"""
cdoc = self._database.get(doc_id)
if cdoc is None:
diff --git a/backends/objectstore.py b/backends/objectstore.py
index 03694532..2ddd4c79 100644
--- a/backends/objectstore.py
+++ b/backends/objectstore.py
@@ -212,7 +212,7 @@ class ObjectStore(CommonBackend):
"""
NotImplementedError(self._initialize)
- def _get_u1db_data(self, u1db_data_doc_id):
+ def _get_u1db_data(self):
"""
Fetch u1db configuration data from backend storage.
"""