mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Py3: Remove subclassing from object
Python 2 had old style and new style classes. Python 3 has only new style classes. There is no point to subclass from object any more. See: https://pagure.io/freeipa/issue/7715 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
@@ -38,7 +38,7 @@ def get_auth_tool():
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class RedHatAuthToolBase(object):
|
||||
class RedHatAuthToolBase:
|
||||
|
||||
@abc.abstractmethod
|
||||
def configure(self, sssd, mkhomedir, statestore, sudo=True):
|
||||
|
||||
@@ -69,7 +69,7 @@ def selinux_enabled():
|
||||
|
||||
|
||||
@total_ordering
|
||||
class IPAVersion(object):
|
||||
class IPAVersion:
|
||||
_rpmvercmp_func = None
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user