py3-friendly multi-exception fix for missing fileno under debugger

pull/17195/merge
nitzmahone 8 years ago
parent e396d5d508
commit a9322e8b8b

@ -89,7 +89,7 @@ class WorkerProcess(multiprocessing.Process):
# not a valid file descriptor, so we just rely on # not a valid file descriptor, so we just rely on
# using the one that was passed in # using the one that was passed in
pass pass
except AttributeError, ValueError: except (AttributeError, ValueError):
# couldn't get stdin's fileno, so we just carry on # couldn't get stdin's fileno, so we just carry on
pass pass

Loading…
Cancel
Save