mirror of
https://github.com/ansible/awx.git
synced 2026-04-11 21:19:22 -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', ''):
|
if kwargs.get('private_data_file', ''):
|
||||||
try:
|
try:
|
||||||
os.remove(kwargs['private_data_file'])
|
os.remove(kwargs['private_data_file'])
|
||||||
except IOError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
stdout_handle.close()
|
stdout_handle.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user