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/13836/merge
parent
965602882a
commit
b1a56051bd
Loading…
Reference in New Issue