diff options
author | Johannes Kulick <kulick@hildensia.de> | 2012-12-15 13:34:48 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-02-19 10:10:07 +0000 |
commit | 6db4ecfb75ec1969426adbb154bbb3ccbded6b1a (patch) | |
tree | 7528d1793d3cd778175a468a8e9d12f40dcddd61 /alot/buffers.py | |
parent | 8448de9d8a81225ac43f625c4bd99358e4329546 (diff) |
rmencrypt now accepts keyids/hints instead of indices
We use an own has function for that, since pygpgme doesn't implement __cmp__()
or similar
Diffstat (limited to 'alot/buffers.py')
-rw-r--r-- | alot/buffers.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |