mirror of https://github.com/ansible/ansible.git
When cleaning up the AnsiBallZ tempdir we need to not fail if the tempdir wasn't created
If the temp directory creation failed in mkdtemp then temp_path is never given a value. This would lead to a NameError exception which would obfuscate the original error (out of disk space being a common one). By catching NameError, python will raise the original exception as we want. Fixes #17215pull/6880/merge
parent
966b5fd1a0
commit
80c1765653
Loading…
Reference in New Issue