diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-14 16:25:09 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-14 16:25:09 +0200 |
commit | 20ebea1c89a00187db390443ed284e0974ff7222 (patch) | |
tree | e276ce333272f8f6e3a74c054e99c4b3ff14c7ce /poezio/bookmarks.py | |
parent | 3acfd83c243fe0ed0ec0b502aaabf46f9dd3aec3 (diff) | |
download | poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.gz poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.bz2 poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.xz poezio-20ebea1c89a00187db390443ed284e0974ff7222.zip |
Stop making classes inherit from object.
Diffstat (limited to 'poezio/bookmarks.py')
-rw-r--r-- | poezio/bookmarks.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |