From 6db4ecfb75ec1969426adbb154bbb3ccbded6b1a Mon Sep 17 00:00:00 2001 From: Johannes Kulick Date: Sat, 15 Dec 2012 13:34:48 +0100 Subject: rmencrypt now accepts keyids/hints instead of indices We use an own has function for that, since pygpgme doesn't implement __cmp__() or similar --- alot/buffers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alot/buffers.py') diff --git a/alot/buffers.py b/alot/buffers.py index 8f344081..50cbd0c3 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -154,13 +154,13 @@ class EnvelopeBuffer(Buffer): if self.envelope.encrypt: description = 'Yes' - encrypt_keys = self.envelope.encrypt_keys + encrypt_keys = self.envelope.encrypt_keys.values() if len(encrypt_keys) == 1: description += ', with key ' elif len(encrypt_keys) > 1: description += ', with keys ' first_key = True - for key in encrypt_keys: + for key in encrypt_keys: if key is not None: if first_key: first_key = False -- cgit v1.2.3