mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pylint: Fix useless-object-inheritance
https://pylint.pycqa.org/en/latest/user_guide/messages/refactor/useless-object-inheritance.html: > Used when a class inherit from object, which under python3 is implicit, hence can be safely removed from bases. Fixes: https://pagure.io/freeipa/issue/9278 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
c523e85835
commit
b8480549c6
@@ -3,8 +3,6 @@
|
||||
#
|
||||
from __future__ import absolute_import
|
||||
|
||||
import six
|
||||
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from collections import namedtuple
|
||||
import itertools
|
||||
@@ -17,7 +15,7 @@ from ipaserver.install.ipa_replica_install import ReplicaInstall
|
||||
Keyval = namedtuple('Keyval', ['option', 'value'])
|
||||
|
||||
|
||||
class InstallerTestBase(six.with_metaclass(ABCMeta, object)):
|
||||
class InstallerTestBase(metaclass=ABCMeta):
|
||||
OPTS_DICT = {}
|
||||
|
||||
# don't allow creating classes with tested_cls unspecified
|
||||
|
||||
Reference in New Issue
Block a user