summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-19 14:39:00 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-19 14:39:00 -0300
commit69a27183254c96c30c36000641f9460018178959 (patch)
tree4aaa72d89d03f6bb69c316c92bca38875d76bb00
parentbb06e9766f26b6c9dfb883d76358399bc623e9ed (diff)
parenta62e5a3a0040f78f3b2e25f304a55e690b6ac42f (diff)
Merge remote-tracking branch 'refs/remotes/kali/bug/fix-memoize' into develop
-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