mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 15:55:47 -05: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:
@@ -705,7 +705,7 @@ def _set_wrapping_mech_parameters(mech_type, mech):
|
||||
########################################################################
|
||||
# P11_Helper object
|
||||
#
|
||||
class P11_Helper(object):
|
||||
class P11_Helper:
|
||||
@property
|
||||
def p11(self):
|
||||
return self.p11_ptr[0]
|
||||
|
||||
Reference in New Issue
Block a user