summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
commitdff018e7cb6c885433e1e91fe0e5162e1e329301 (patch)
tree134e5229f87ae6e813368057260c404d93e4e6aa /alot/account.py
parent7f800370151466fb07db1eba4b3b343cbd03561c (diff)
remove old new-style classes syntax
Python3 only supports "new-style" classes (those extending object), and we don't need to explicitly inherit from this root class any more. See http://pylint-messages.wikidot.com/messages:c1001
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/account.py b/alot/account.py
index f4a360a4..8a32a85c 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -15,7 +15,7 @@ from .helper import call_cmd_async
from .helper import split_commandstring
-class Address(object):
+class Address:
"""A class that represents an email address.
@@ -160,7 +160,7 @@ class StoreMailError(Exception):
pass
-class Account(object):
+class Account:
"""
Datastructure that represents an email account. It manages this account's
settings, can send and store mails to maildirs (drafts/send).