From dff018e7cb6c885433e1e91fe0e5162e1e329301 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Mon, 27 May 2019 18:31:47 +0100 Subject: 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 --- alot/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alot/account.py') 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). -- cgit v1.2.3