summaryrefslogtreecommitdiff
path: root/alot/addressbook
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/addressbook
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/addressbook')
-rw-r--r--alot/addressbook/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/addressbook/__init__.py b/alot/addressbook/__init__.py
index cd302218..4e733efd 100644
--- a/alot/addressbook/__init__.py
+++ b/alot/addressbook/__init__.py
@@ -9,7 +9,7 @@ class AddressbookError(Exception):
pass
-class AddressBook(object):
+class AddressBook:
"""can look up email addresses and realnames for contacts.
.. note::