summaryrefslogtreecommitdiff
path: root/alot/commands
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 14:32:54 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:19 +0100
commit03fcbc3382782e8d6824bfd55b063f13f64ff08f (patch)
tree49bd8ffe51d8fdb9529c0611ae9b46b1ee3482fb /alot/commands
parent84c79143dcf0a56112d8703f24052ca1f5f2832c (diff)
Further minor style fixes
Diffstat (limited to 'alot/commands')
-rw-r--r--alot/commands/thread.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 306f2619..c8edf3bd 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -239,8 +239,8 @@ class ReplyCommand(Command):
# 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']
- # Some mail server (gmail) will not resend you own mail, so you have
- # to deal with the one in sent
+ # Some mail server (gmail) will not resend you own mail, so you
+ # have to deal with the one in sent
if to is None:
to = mail['To']
logging.debug('mail list reply to: %s', to)
@@ -284,7 +284,8 @@ class ReplyCommand(Command):
spawn=self.force_spawn,
encrypt=encrypt))
- def clear_my_address(self, my_addresses, value):
+ @staticmethod
+ def clear_my_address(my_addresses, value):
"""return recipient header without the addresses in my_addresses"""
new_value = []
for name, address in getaddresses(value):