summaryrefslogtreecommitdiff
path: root/backends/sqlcipher.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-13 12:46:48 -0200
committerdrebs <drebs@leap.se>2013-02-13 12:46:48 -0200
commit82006e3b7e502b9fb4e45a00fdf332e4af5fc752 (patch)
tree5e1ce005cfd934c10b220623eb403ffe987c4493 /backends/sqlcipher.py
parentecf568431319b4e81bc077141048d0b7f1e0964d (diff)
Add/fix doc for soledad modules.
Diffstat (limited to 'backends/sqlcipher.py')
-rw-r--r--backends/sqlcipher.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/sqlcipher.py b/backends/sqlcipher.py
index c902b466..9a508dc2 100644
--- a/backends/sqlcipher.py
+++ b/backends/sqlcipher.py
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with u1db. If not, see <http://www.gnu.org/licenses/>.
-"""A U1DB implementation that uses SQLCipher as its persistence layer."""
+"""A U1DB backend that uses SQLCipher as its persistence layer."""
import os
from pysqlcipher import dbapi2
@@ -125,6 +125,7 @@ class SQLCipherDatabase(SQLitePartialExpandDatabase):
@classmethod
def open_database(cls, sqlite_file, password, create, backend_cls=None,
document_factory=None, soledad=None):
+ """Open U1DB database using SQLCipher as backend."""
try:
return cls._open_database(sqlite_file, password,
document_factory=document_factory,