From 20ebea1c89a00187db390443ed284e0974ff7222 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 14 Jul 2018 16:25:09 +0200 Subject: Stop making classes inherit from object. --- poezio/bookmarks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/bookmarks.py') diff --git a/poezio/bookmarks.py b/poezio/bookmarks.py index 8dd5cd40..3e3893f4 100644 --- a/poezio/bookmarks.py +++ b/poezio/bookmarks.py @@ -39,7 +39,7 @@ from poezio.config import config log = logging.getLogger(__name__) -class Bookmark(object): +class Bookmark: def __init__(self, jid, name=None, @@ -127,7 +127,7 @@ class Bookmark(object): return Bookmark(jid, name, autojoin, nick, password, method='remote') -class BookmarkList(object): +class BookmarkList: def __init__(self): self.bookmarks = [] preferred = config.get('use_bookmarks_method').lower() -- cgit v1.2.3