summaryrefslogtreecommitdiff
path: root/poezio/tabs
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/tabs
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/tabs')
-rw-r--r--poezio/tabs/basetabs.py2
-rw-r--r--poezio/tabs/xmltab.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 13c54c27..2865f443 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -86,7 +86,7 @@ SHOW_NAME = {
}
-class Tab(object):
+class Tab:
plugin_commands = {}
plugin_keys = {}
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py
index 223b6667..26d5aef3 100644
--- a/poezio/tabs/xmltab.py
+++ b/poezio/tabs/xmltab.py
@@ -24,7 +24,7 @@ from poezio.decorators import command_args_parser, refresh_wrapper
from poezio.common import safeJID
-class MatchJID(object):
+class MatchJID:
def __init__(self, jid, dest=''):
self.jid = jid
self.dest = dest