diff --git a/lib/ansible/executor/process/worker.py b/lib/ansible/executor/process/worker.py index 7119d3c8aad..ffe9f427bd7 100644 --- a/lib/ansible/executor/process/worker.py +++ b/lib/ansible/executor/process/worker.py @@ -89,7 +89,7 @@ class WorkerProcess(multiprocessing.Process): # not a valid file descriptor, so we just rely on # using the one that was passed in pass - except AttributeError, ValueError: + except (AttributeError, ValueError): # couldn't get stdin's fileno, so we just carry on pass