summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-10-06 12:57:24 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-10-06 12:57:24 -0300
commitb897ec2847f83e3f410eab27ba3c7b94bb818ce1 (patch)
tree9579c9632acc0331469a600332624324c92d2a35
parente859c029a06518ab41841f15fcd1dc444a3688d9 (diff)
parent5f492355f216569eea42a446821046afde9aeffb (diff)
Merge remote-tracking branch 'meskio/feature/keymanager_api' 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 0a97752..9cd2940 100644
--- a/mail/src/leap/mail/imap/fetch.py
+++ b/mail/src/leap/mail/imap/fetch.py
@@ -433,7 +433,7 @@ class LeapIncomingMail(object):
or msg.get_content_type() == MULTIPART_SIGNED)):
_, senderAddress = parseaddr(fromHeader)
try:
- senderPubkey = self._keymanager.get_key_from_cache(
+ senderPubkey = self._keymanager.get_key(
senderAddress, OpenPGPKey)
except keymanager_errors.KeyNotFound:
pass