summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-12-18 11:14:47 +0100
committerLucas Hoffmann <l-m-h@web.de>2016-12-18 22:53:10 +0100
commit181161f62fed0dedb07c027bcca7770b3a68fcf8 (patch)
tree84d25d44877203d83b6174eb75e7ddfb349e4426 /alot/account.py
parent459c4b8ee2c42a0b855486484a4ebad458d53e8a (diff)
Turn methods with no `self` usage into staticmethods
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/account.py b/alot/account.py
index 2b122e78..cabd487e 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -95,7 +95,8 @@ class Account(object):
their importance"""
return [self.address] + self.aliases
- def store_mail(self, mbx, mail):
+ @staticmethod
+ def store_mail(mbx, mail):
"""
stores given mail in mailbox. If mailbox is maildir, set the S-flag and
return path to newly added mail. Oherwise this will return `None`.