code cleanup

This commit is contained in:
Steven Robertson 2020-01-31 17:37:26 -08:00
parent cec692dc17
commit 119e1c24aa
2 changed files with 2 additions and 3 deletions

View File

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

View File

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