code cleanup

pull/658/head
Steven Robertson 5 years ago
parent cec692dc17
commit 119e1c24aa

@ -353,7 +353,6 @@ class StrategyMixin(object):
are configured for the duration of the call. are configured for the duration of the call.
""" """
_assert_supported_release() _assert_supported_release()
wrappers = AnsibleWrappers() wrappers = AnsibleWrappers()
self._worker_model = self._get_worker_model() self._worker_model = self._get_worker_model()
ansible_mitogen.process.set_worker_model(self._worker_model) ansible_mitogen.process.set_worker_model(self._worker_model)

@ -548,8 +548,8 @@ class MitogenViaSpec(Spec):
machine. machine.
:param dict host_vars: :param dict host_vars:
The HostVars magic dictionary provided by Ansible in task_vars. The HostVars magic dictionary provided by Ansible in task_vars.
:param dict host_vars: :param dict task_vars:
The HostVars magic dictionary provided by Ansible in task_vars. Task vars provided by Ansible.
:param str become_method: :param str become_method:
If the mitogen_via= spec included a become method, the method it If the mitogen_via= spec included a become method, the method it
specifies. specifies.

Loading…
Cancel
Save