From bda3aa99c797d609c185642fb767272e9bf884c1 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Fri, 11 Mar 2016 12:37:37 +0100 Subject: Add and update several docstrings. --- alot/commands/globals.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'alot/commands/globals.py') diff --git a/alot/commands/globals.py b/alot/commands/globals.py index f16647bf..b0ca6b7b 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -853,6 +853,14 @@ class ComposeCommand(Command): @inlineCallbacks def _set_encrypt(self, ui, envelope): + """Find and set the encryption keys in an envolope. + + :param ui: the main user interface object + :type ui: alot.ui.UI + :param envolope: the envolope buffer object + :type envolope: alot.buffers.EnvelopeBuffer + + """ encrypt_keys = [] for recipient in envelope.headers['To'][0].split(','): if not recipient: -- cgit v1.2.3