mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Remove inherit from object as it's no longer needed to determine new-style classes
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
class HostLog(object):
|
||||
class HostLog:
|
||||
|
||||
def __init__(self, host):
|
||||
self.host = host
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
class HostPlaybookIterator(object):
|
||||
class HostPlaybookIterator:
|
||||
|
||||
def __init__(self, host, playbook):
|
||||
pass
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
class PlaybookExecutor(object):
|
||||
class PlaybookExecutor:
|
||||
|
||||
def __init__(self, list_of_plays=[]):
|
||||
# self.tqm = TaskQueueManager(forks)
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
class TaskExecutor(object):
|
||||
class TaskExecutor:
|
||||
|
||||
def __init__(self, task, host):
|
||||
pass
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
class TaskQueueManagerHostPlaybookIterator(object):
|
||||
class TaskQueueManagerHostPlaybookIterator:
|
||||
|
||||
def __init__(self, host, playbook):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user