summaryrefslogtreecommitdiff
path: root/alot/db/manager.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/db/manager.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/db/manager.py')
-rw-r--r--alot/db/manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/db/manager.py b/alot/db/manager.py
index 3520ee63..7f2cf7eb 100644
--- a/alot/db/manager.py
+++ b/alot/db/manager.py
@@ -138,8 +138,7 @@ class DBManager(object):
if cmd == 'add':
logging.debug('add')
path, tags = current_item[2:]
- msg, status = db.add_message(path,
- sync_maildir_flags=sync)
+ msg, _ = db.add_message(path, sync_maildir_flags=sync)
logging.debug('added msg')
msg.freeze()
logging.debug('freeze')