summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-18 22:44:57 -0400
committerKali Kaneko <kali@leap.se>2013-12-18 22:44:57 -0400
commita62e5a3a0040f78f3b2e25f304a55e690b6ac42f (patch)
tree7936d04d0d419a87f653f27164f3cd10fa18fff1 /mail
parent5f502f74f15e3478b3fd8df6c9aea225ee515ac4 (diff)
memoize the special method
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 7cecaba..f69681a 100644
--- a/mail/src/leap/mail/imap/fetch.py
+++ b/mail/src/leap/mail/imap/fetch.py
@@ -392,7 +392,7 @@ class LeapIncomingMail(object):
if fromHeader is not None:
_, senderAddress = parseaddr(fromHeader)
try:
- senderPubkey = self._keymanager.get_key(
+ senderPubkey = self._keymanager.get_key_from_cache(
senderAddress, OpenPGPKey)
except keymanager_errors.KeyNotFound:
pass