Commit 65255319 authored by Fred Drake's avatar Fred Drake

Clean up bare except where only IOError makes sense.

parent 553f6811
......@@ -147,5 +147,5 @@ def spawn(argv, master_read=_read, stdin_read=_read):
tty.setraw(STDIN_FILENO)
try:
_copy(master_fd, master_read, stdin_read)
except:
except IOError:
tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment