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 | f755b8c4aff56378923f1014ec95d7bced64afdf (patch) | |
tree | dee5da3a67bb2b88943c1f5cc28b6bc33094c690 /src | |
parent | 40cd9dc7aaa0298954be174fc3088bb9613845d3 (diff) |
memoize the special method
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/mail/imap/fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/fetch.py b/src/leap/mail/imap/fetch.py index 7cecaba..f69681a 100644 --- a/src/leap/mail/imap/fetch.py +++ b/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 |