Commit eca7805c authored by David Wilson's avatar David Wilson

ansible: one more cast() call.

Need a more general solution to littering the code with this crap.
parent ba644e18
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment