From cd5d18ae0ef5286b3a9f12705256d68017c6ad1e Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 16 Sep 2014 10:54:09 -0500 Subject: The get_key cache now it's automagical --- src/leap/mail/imap/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3