From c60505094e20ffbae5753383cfd73825c7a0114d Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 16 Jan 2013 09:55:27 -0200 Subject: Fix copy_database for couch tests. --- backends/couch.py | 6 ++---- backends/objectstore.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'backends') 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. """ -- cgit v1.2.3