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/tabs/basetabs.py | 2 +- poezio/tabs/xmltab.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/tabs') 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 -- cgit v1.2.3