Removed explicit inheritance from object
All python classes already inherit from object implicitly. There is no need to keep it there. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: Ic56242fc20ef27e4b96b09319280e87db130e4cb
This commit is contained in:
parent
a0db6e4892
commit
a68b40af2d
@ -44,7 +44,7 @@ except pkg_resources.DistributionNotFound:
|
||||
backward_compat = False
|
||||
|
||||
|
||||
class Ansible(object):
|
||||
class Ansible:
|
||||
"""An Object for encapsulating an Ansible execution"""
|
||||
|
||||
def __init__(self, uuid=None):
|
||||
|
@ -19,7 +19,7 @@ import yaml
|
||||
LOG = logging.getLogger(__name__ + ".Group")
|
||||
|
||||
|
||||
class Group(object):
|
||||
class Group:
|
||||
"""An object for encapsulating the groups of validation
|
||||
|
||||
The validations can be grouped together by specifying a ``groups``
|
||||
|
@ -21,7 +21,7 @@ from collections import OrderedDict
|
||||
LOG = logging.getLogger(__name__ + ".validation")
|
||||
|
||||
|
||||
class Validation(object):
|
||||
class Validation:
|
||||
"""An object for encapsulating a validation
|
||||
|
||||
Each validation is an `Ansible` playbook. Each playbook have some
|
||||
|
@ -26,7 +26,7 @@ from validations_libs import utils as v_utils
|
||||
LOG = logging.getLogger(__name__ + ".validation_actions")
|
||||
|
||||
|
||||
class ValidationActions(object):
|
||||
class ValidationActions:
|
||||
"""An object for encapsulating the Validation Actions
|
||||
|
||||
This class allows the possibility to execute the following actions:
|
||||
|
@ -24,7 +24,7 @@ from validations_libs import constants
|
||||
LOG = logging.getLogger(__name__ + ".validation_logs")
|
||||
|
||||
|
||||
class ValidationLog(object):
|
||||
class ValidationLog:
|
||||
"""An object for encapsulating a Validation Log file"""
|
||||
|
||||
def __init__(self, uuid=None, validation_id=None, logfile=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user