summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-24 14:30:16 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-04-24 14:30:16 -0700
commite1634fba862738c79ad9ad0a47ece9a27e004fa1 (patch)
treed346de0458d6b7d26bf6e44f00eb4c008f5f6837 /alot
parentd84220dd55cc4eb54d48cb8e325e417e369cde65 (diff)
Fix some formatting requests for @lucc
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/thread.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 5d8a7939..ad854a5a 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -245,11 +245,8 @@ class ReplyCommand(Command):
# Reply-To is standart reply target RFC 2822:, RFC 1036: 2.2.1
# X-BeenThere is needed by sourceforge ML also winehq
# X-Mailing-List is also standart and is used by git-send-mail
- to = (
- mail['Reply-To']
- or mail['X-BeenThere']
- or mail['X-Mailing-List']
- )
+ to = mail['Reply-To'] or mail['X-BeenThere'] or mail['X-Mailing-List']
+
# Some mail server (gmail) will not resend you own mail, so you
# have to deal with the one in sent
if to is None: