From 41ef1f14636caf213e7c25dc3eeb3d911418ee72 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 20 Dec 2016 12:12:07 -0800 Subject: 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). --- alot/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/account.py') diff --git a/alot/account.py b/alot/account.py index cabd487e..912380e3 100644 --- a/alot/account.py +++ b/alot/account.py @@ -55,7 +55,7 @@ class Account(object): sent_box=None, sent_tags=None, draft_box=None, draft_tags=None, abook=None, sign_by_default=False, encrypt_by_default=u"none", - **rest): + **_): sent_tags = sent_tags or [] if 'sent' not in sent_tags: sent_tags.append('sent') -- cgit v1.2.3