From 82006e3b7e502b9fb4e45a00fdf332e4af5fc752 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 13 Feb 2013 12:46:48 -0200 Subject: Add/fix doc for soledad modules. --- backends/leap_backend.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'backends/leap_backend.py') diff --git a/backends/leap_backend.py b/backends/leap_backend.py index c3c52ee6..571cd8ca 100644 --- a/backends/leap_backend.py +++ b/backends/leap_backend.py @@ -1,3 +1,8 @@ +""" +A U1DB backend that encrypts data before sending to server and decrypts after +receiving. +""" + try: import simplejson as json except ImportError: @@ -13,14 +18,23 @@ import uuid class NoDefaultKey(Exception): + """ + Exception to signal that there's no default OpenPGP key configured. + """ pass class NoSoledadInstance(Exception): + """ + Exception to signal that no Soledad instance was found. + """ pass class DocumentEncryptionFailed(Exception): + """ + Exception to signal the failure of document encryption. + """ pass -- cgit v1.2.3