issue #177: fix bizarre syntax error in last commit.
This commit is contained in:
parent
17b94c56f4
commit
98c15942f7
|
@ -174,7 +174,7 @@ def _async_main(job_id, module, raw_params, args, env):
|
||||||
_result_by_job_id[job_id] = rc
|
_result_by_job_id[job_id] = rc
|
||||||
|
|
||||||
|
|
||||||
def make_temp_directory:(base_dir):
|
def make_temp_directory(base_dir):
|
||||||
"""
|
"""
|
||||||
Handle creation of `base_dir` if it is absent, in addition to a unique
|
Handle creation of `base_dir` if it is absent, in addition to a unique
|
||||||
temporary directory within `base_dir`.
|
temporary directory within `base_dir`.
|
||||||
|
|
|
@ -203,7 +203,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
|
||||||
# The copy action plugin violates layering and grabs this attribute
|
# The copy action plugin violates layering and grabs this attribute
|
||||||
# directly.
|
# directly.
|
||||||
self._connection._shell.tmpdir = self.call(
|
self._connection._shell.tmpdir = self.call(
|
||||||
ansible_mitogen.helpers.make_temp_directory:,
|
ansible_mitogen.helpers.make_temp_directory,
|
||||||
base_dir=self._remote_expand_user(
|
base_dir=self._remote_expand_user(
|
||||||
# ~/.ansible
|
# ~/.ansible
|
||||||
self._connection._shell.get_option('remote_tmp')
|
self._connection._shell.get_option('remote_tmp')
|
||||||
|
|
Loading…
Reference in New Issue