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

pull/4420/head
nitzmahone 2016-08-23 19:55:39 -07:00
parent e396d5d508
commit a9322e8b8b
1 changed files with 1 additions and 1 deletions

View File

@ -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