summaryrefslogtreecommitdiff
path: root/lib/ansible/executor/process
diff options
context:
space:
mode:
authornitzmahone <mdavis@ansible.com>2016-08-23 19:55:39 -0700
committernitzmahone <mdavis@ansible.com>2016-08-23 19:55:39 -0700
commita9322e8b8b39e0e0685e36b5ab8d1ef76b504d12 (patch)
tree035c99b941d091d976be7bd426836a611c84c191 /lib/ansible/executor/process
parente396d5d508ecb9ca7699dc1e7c9f554f51667c8e (diff)
downloadansible-a9322e8b8b39e0e0685e36b5ab8d1ef76b504d12.tar.gz
py3-friendly multi-exception fix for missing fileno under debugger
Diffstat (limited to 'lib/ansible/executor/process')
-rw-r--r--lib/ansible/executor/process/worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/executor/process/worker.py b/lib/ansible/executor/process/worker.py
index 7119d3c8aa..ffe9f427bd 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