summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/soledadstore.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/mail/imap/soledadstore.py')
-rw-r--r--src/leap/mail/imap/soledadstore.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/mail/imap/soledadstore.py b/src/leap/mail/imap/soledadstore.py
index 6d6d382..e1a278a 100644
--- a/src/leap/mail/imap/soledadstore.py
+++ b/src/leap/mail/imap/soledadstore.py
@@ -295,9 +295,12 @@ class SoledadStore(ContentDedup):
def _soledad_write_document_parts(self, items):
"""
Write the document parts to soledad in a separate thread.
+
:param items: the iterator through the different document wrappers
payloads.
:type items: iterator
+ :return: whether the write was successful or not
+ :rtype: bool
"""
failed = False
for item, call in items: