mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
Fix a customer issue in HEAD. We should catch OSError here instead of IOError
This commit is contained in:
parent
16d9af6945
commit
d176466ccc
@ -325,7 +325,7 @@ class BaseTask(Task):
|
||||
if kwargs.get('private_data_file', ''):
|
||||
try:
|
||||
os.remove(kwargs['private_data_file'])
|
||||
except IOError:
|
||||
except OSError:
|
||||
pass
|
||||
try:
|
||||
stdout_handle.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user