summaryrefslogtreecommitdiff
path: root/poezio/bookmarks.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-14 16:25:09 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-14 16:25:09 +0200
commit20ebea1c89a00187db390443ed284e0974ff7222 (patch)
treee276ce333272f8f6e3a74c054e99c4b3ff14c7ce /poezio/bookmarks.py
parent3acfd83c243fe0ed0ec0b502aaabf46f9dd3aec3 (diff)
downloadpoezio-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.py4
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()