mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
py3-friendly multi-exception fix for missing fileno under debugger
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user