diff options
author | Kali Kaneko <kali@leap.se> | 2013-12-18 22:44:57 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-12-18 22:44:57 -0400 |
commit | a62e5a3a0040f78f3b2e25f304a55e690b6ac42f (patch) | |
tree | 7936d04d0d419a87f653f27164f3cd10fa18fff1 | |
parent | 5f502f74f15e3478b3fd8df6c9aea225ee515ac4 (diff) |
memoize the special method
-rw-r--r-- | mail/src/leap/mail/imap/fetch.py | 2 |
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 7cecabac..f69681a5 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 |