summaryrefslogtreecommitdiff
path: root/src/leap
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
commitf755b8c4aff56378923f1014ec95d7bced64afdf (patch)
treedee5da3a67bb2b88943c1f5cc28b6bc33094c690 /src/leap
parent40cd9dc7aaa0298954be174fc3088bb9613845d3 (diff)
memoize the special method
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/mail/imap/fetch.py2
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