summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-12-20 12:12:07 -0800
committerDylan Baker <dylan@pnwbakers.com>2016-12-21 17:18:39 -0800
commit41ef1f14636caf213e7c25dc3eeb3d911418ee72 (patch)
tree75d34e6edaecaf3ad66fb544e0cd7a996fd4ad4d /alot/helper.py
parentbf2005c111289fcd7f55b92e64cfa8c43b9bfdbc (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.py2
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