From f1c759682f34b7a5d20c940bcc28a3603822b1fc Mon Sep 17 00:00:00 2001 From: sgelb Date: Sat, 6 Jul 2019 14:29:42 +0200 Subject: Options overwrite default values for sent_tags and draft_tags In addition, remove hardcoded default values from `account.py` and use defaults from `alot.rc.spec` --- alot/account.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'alot/account.py') diff --git a/alot/account.py b/alot/account.py index 8a32a85c..72b6cef0 100644 --- a/alot/account.py +++ b/alot/account.py @@ -203,15 +203,6 @@ class Account: abook=None, sign_by_default=False, encrypt_by_default=u"none", encrypt_to_self=None, case_sensitive_username=False, **_): - sent_tags = sent_tags or [] - if 'sent' not in sent_tags: - sent_tags.append('sent') - draft_tags = draft_tags or [] - if 'draft' not in draft_tags: - draft_tags.append('draft') - replied_tags = replied_tags or [] - passed_tags = passed_tags or [] - self.address = Address.from_string( address, case_sensitive=case_sensitive_username) self.aliases = [ -- cgit v1.2.3