summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2014-09-16 10:54:09 -0500
committerRuben Pollan <meskio@sindominio.net>2014-09-16 10:54:09 -0500
commit5f492355f216569eea42a446821046afde9aeffb (patch)
tree7ffe4d79ee4af79d65ad100dfc233ed841efc2c3 /mail
parenteb844bda5afa116be3c60c68bf97522511d5143a (diff)
The get_key cache now it's automagical
Diffstat (limited to 'mail')
-rw-r--r--mail/src/leap/mail/imap/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/imap/fetch.py b/mail/src/leap/mail/imap/fetch.py
index 0a97752..9cd2940 100644
--- a/mail/src/leap/mail/imap/fetch.py
+++ b/mail/src/leap/mail/imap/fetch.py
@@ -433,7 +433,7 @@ class LeapIncomingMail(object):
or msg.get_content_type() == MULTIPART_SIGNED)):
_, senderAddress = parseaddr(fromHeader)
try:
- senderPubkey = self._keymanager.get_key_from_cache(
+ senderPubkey = self._keymanager.get_key(
senderAddress, OpenPGPKey)
except keymanager_errors.KeyNotFound:
pass