removed unused function
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Fri, 24 Jul 2015 23:05:16 +0000 (19:05 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 7 Dec 2015 18:28:41 +0000 (13:28 -0500)
edward

diff --git a/edward b/edward
index 1ae0d288127e9dc994e373158971a0fd87037b04..5f61c29b11dc5ee46024bfcc2d06a5e1d3878610 100755 (executable)
--- a/edward
+++ b/edward
@@ -1093,21 +1093,7 @@ def decrypt_block (msg_block, gpgme_ctx):
     return (plaintext, fingerprints)
 
 
-def choose_reply_encryption_key (gpgme_ctx, fingerprints):
 
-    reply_key = None
-    for fp in fingerprints:
-        try:
-            key = gpgme_ctx.get_key(fp)
-
-            if (key.can_encrypt == True):
-                reply_key = key
-                break
-        except:
-            continue
-
-
-    return reply_key
 
 
 def email_to_from_subject (email_text):