mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fix a customer issue in HEAD. We should catch OSError here instead of IOError
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user