summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-11-21 10:00:35 -0200
committerdrebs <drebs@leap.se>2013-11-21 11:57:14 -0200
commit69fd3a11a3821468e737b8fb0e3e77abef0a4b8a (patch)
tree3ace11d4b4276c86856f3e9b96080410f366ca9b /client
parenteb07702bc4c1d51e0307b655b14bc1a3835488b2 (diff)
Add scripts for debugging client and server side databases.
Diffstat (limited to 'client')
-rw-r--r--client/src/leap/soledad/client/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py
index 08cae892..62f93b3d 100644
--- a/client/src/leap/soledad/client/__init__.py
+++ b/client/src/leap/soledad/client/__init__.py
@@ -747,6 +747,13 @@ class Soledad(object):
"""
Update a document in the local encrypted database.
+ ============================== WARNING ==============================
+ This method converts the document's contents to unicode in-place. This
+ meanse that after calling C{put_doc(doc)}, the contents of the
+ document, i.e. C{doc.content}, might be different from before the
+ call.
+ ============================== WARNING ==============================
+
:param doc: the document to update
:type doc: SoledadDocument