summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/fetch.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-02 17:14:03 -0400
committerKali Kaneko <kali@leap.se>2014-01-08 20:34:00 -0400
commita912729c4788d46d648a72126226741b63e0a37c (patch)
tree372a6f8f16fc544aa1f372ebfda2dd84ce1a5938 /src/leap/mail/imap/fetch.py
parent25a0aea875fd0d67238beed1237f7239474673ec (diff)
add documentation to the decorator, fix errorback.
* it also fixes the traceback in the errorback, thanks to chiiph, who reads documentation instead of whinning :D * other minor documentation corrections
Diffstat (limited to 'src/leap/mail/imap/fetch.py')
-rw-r--r--src/leap/mail/imap/fetch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/mail/imap/fetch.py b/src/leap/mail/imap/fetch.py
index fdf1412..cb200be 100644
--- a/src/leap/mail/imap/fetch.py
+++ b/src/leap/mail/imap/fetch.py
@@ -455,8 +455,8 @@ class LeapIncomingMail(object):
:param senderPubkey: The key of the sender of the message.
:type senderPubkey: OpenPGPKey
- :return: A unitary tuple containing a decrypted message and
- a bool indicating wether the signature is valid.
+ :return: A tuple containing a decrypted message and
+ a bool indicating whether the signature is valid.
:rtype: (Message, bool)
"""
log.msg('maybe decrypting inline encrypted msg')