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:
Christian Heimes
2018-09-27 11:49:04 +02:00
parent 4a58adf79e
commit b431e9b684
107 changed files with 217 additions and 201 deletions
+1 -1
View File
@@ -994,7 +994,7 @@ def has_managed_topology(api):
return domainlevel > DOMAIN_LEVEL_0
class classproperty(object):
class classproperty:
__slots__ = ('__doc__', 'fget')
def __init__(self, fget=None, doc=None):