summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2014-09-16 10:54:09 -0500
committerRuben Pollan <meskio@sindominio.net>2014-09-16 10:54:09 -0500
commitcd5d18ae0ef5286b3a9f12705256d68017c6ad1e (patch)
treed7101a8ac134b01fb93e2707d3b241e88e9fa2f7 /src
parenteba412b4338fe5cfce0155bb1aabfe40025c036c (diff)
The get_key cache now it's automagical
Diffstat (limited to 'src')
-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 0a97752..9cd2940 100644
--- a/src/leap/mail/imap/fetch.py
+++ b/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