diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2016-03-11 12:37:37 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2016-03-11 11:52:38 +0000 |
commit | bda3aa99c797d609c185642fb767272e9bf884c1 (patch) | |
tree | 3a67d7540d0b05056080f4c6ad8b595216b6d37c /alot/commands/globals.py | |
parent | af047f128951545af135c56d8f87ef0a924fc0ab (diff) |
Add and update several docstrings.
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 8 |
1 files changed, 8 insertions, 0 deletions
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: |