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:
@@ -126,7 +126,7 @@ def ldap_initialize(uri, cacertfile=None):
|
||||
return conn
|
||||
|
||||
|
||||
class _ServerSchema(object):
|
||||
class _ServerSchema:
|
||||
'''
|
||||
Properties of a schema retrieved from an LDAP server.
|
||||
'''
|
||||
@@ -137,7 +137,7 @@ class _ServerSchema(object):
|
||||
self.retrieve_timestamp = time.time()
|
||||
|
||||
|
||||
class SchemaCache(object):
|
||||
class SchemaCache:
|
||||
'''
|
||||
Cache the schema's from individual LDAP servers.
|
||||
'''
|
||||
@@ -635,7 +635,7 @@ class SingleValueLDAPEntryView(LDAPEntryView):
|
||||
self._entry[name] = [value]
|
||||
|
||||
|
||||
class LDAPClient(object):
|
||||
class LDAPClient:
|
||||
"""LDAP backend class
|
||||
|
||||
This class abstracts a LDAP connection, providing methods that work with
|
||||
|
Reference in New Issue
Block a user