diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-11 14:47:46 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-11 14:47:46 +0000 |
commit | a6c0f6adbc8101026e380285dbdf7cf20a23f29e (patch) | |
tree | c3468af2fd36f59ffee0210de855525d74551ddd /alot/settings.py | |
parent | 4735a8d93e7ce0659cc6b7da49490dd281180592 (diff) |
pep8
Diffstat (limited to 'alot/settings.py')
-rw-r--r-- | alot/settings.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/alot/settings.py b/alot/settings.py index d43ce245..f40d6938 100644 --- a/alot/settings.py +++ b/alot/settings.py @@ -188,16 +188,17 @@ mailcaps = mailcap.getcaps() def get_mime_handler(mime_type, key='view', interactive=True): """ - get shellcomand defined in the users `mailcap` as handler for files of given - `mime_type`. + get shellcomand defined in the users `mailcap` as handler for files of + given `mime_type`. - :param mime_type: file type as extracted :meth:`email.Message.get_content_type` + :param mime_type: file type :type mime_type: str - :param key: identifies one of possibly many commands for this type by naming - the intended usage, e.g. 'edit' or 'view'. Defaults to 'view'. + :param key: identifies one of possibly many commands for this type by + naming the intended usage, e.g. 'edit' or 'view'. Defaults + to 'view'. :type key: str - :param interactive: choose the "interactive session" handler rather than the - "print to stdout and immediately return" handler + :param interactive: choose the "interactive session" handler rather than + the "print to stdout and immediately return" handler :type interactive: bool """ if interactive: |