ansible: one more cast() call.

Need a more general solution to littering the code with this crap.
wip-fakessh-exit-status
David Wilson 7 years ago
parent ba644e184d
commit eca7805cba

@ -29,6 +29,7 @@
import ansible.plugins.action
import mitogen.core
import ansible_mitogen.helpers
from mitogen.utils import cast
class ActionModule(ansible.plugins.action.ActionBase):
@ -37,7 +38,7 @@ class ActionModule(ansible.plugins.action.ActionBase):
try:
result = self._connection.call(
ansible_mitogen.helpers.get_async_result,
job_id,
cast(job_id),
)
except mitogen.core.CallError, e:
return {

Loading…
Cancel
Save