diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-12-20 12:12:07 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-12-21 17:18:39 -0800 |
commit | 41ef1f14636caf213e7c25dc3eeb3d911418ee72 (patch) | |
tree | 75d34e6edaecaf3ad66fb544e0cd7a996fd4ad4d /alot/helper.py | |
parent | bf2005c111289fcd7f55b92e64cfa8c43b9bfdbc (diff) |
Replace unused arguments with _
This patch replaces a large number (but not all) unused arguments with
the standard ``_`` placeholder. This has the advantage of signaling that
these values are unused.
There are a number of places that I've chosen not to apply this, largely
in methods that have publicly define signatures that they inherit
(usually from urwid).
Diffstat (limited to 'alot/helper.py')
-rw-r--r-- | alot/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py index 253fa899..1326f97e 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -457,7 +457,7 @@ def mimewrap(path, filename=None, ctype=None): # as distributions still ship libmagic 5.11. if (ctype == 'application/msword' and not libmagic_version_at_least(513)): - mimetype, encoding = mimetypes.guess_type(path) + mimetype, _ = mimetypes.guess_type(path) if mimetype: ctype = mimetype |