mirror of https://github.com/ansible/ansible.git
Prevent traceback.
https://github.com/ansible/ansible/issues/13743#issuecomment-171520585 In some circumstance, the file fails to open. When that occurs, we can't try to close it in the finally clause. Using a context manager is the cleanest way to change the code to account for that case.pull/14019/head
parent
2ed31fc818
commit
fe55e87ab4
Loading…
Reference in New Issue