mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-21 20:59:10 +00:00
fixup remove use of delete_on_close added python 3.12
This commit is contained in:
parent
3b81afb626
commit
6bb5bf8dc7
1 changed files with 1 additions and 2 deletions
|
|
@ -63,10 +63,9 @@ class ActionModule(ActionBase):
|
|||
|
||||
new_task = self._task.copy()
|
||||
|
||||
with tempfile.NamedTemporaryFile('wb', delete=True, delete_on_close=False) as f:
|
||||
with tempfile.NamedTemporaryFile('wb', delete=True) as f:
|
||||
f.write(bytes(key))
|
||||
f.flush()
|
||||
f.close()
|
||||
|
||||
new_task.args.update(
|
||||
dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue