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:
1 parent
4a58adf79e
commit
b431e9b684
107 files changed
+217
-201
No files matched your search
@@ -53,7 +53,7 @@ class ScriptError(Exception):
|
||||
return str(self)
|
||||
|
||||
|
||||
class AdminTool(object):
|
||||
class AdminTool:
|
||||
"""Base class for command-line admin tools
|
||||
|
||||
To run the tool, call the main() classmethod with a list of command-line
|
||||
|
||||
Reference in new issue
Block a user