diff options
author | drebs <drebs@leap.se> | 2013-02-13 12:46:48 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-13 12:46:48 -0200 |
commit | 82006e3b7e502b9fb4e45a00fdf332e4af5fc752 (patch) | |
tree | 5e1ce005cfd934c10b220623eb403ffe987c4493 /backends/leap_backend.py | |
parent | ecf568431319b4e81bc077141048d0b7f1e0964d (diff) |
Add/fix doc for soledad modules.
Diffstat (limited to 'backends/leap_backend.py')
-rw-r--r-- | backends/leap_backend.py | 14 |
1 files changed, 14 insertions, 0 deletions
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 |