summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-08-16 14:00:31 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2015-08-16 14:00:32 -0500
commitd98e1729b3e1e83d796727d59be610dae4254611 (patch)
tree9fd00fd96b66dd74f2ebd5eba77279961022e29c /run_tests.py
parent57ec990dad132c98b601006fd83fe50125cc647a (diff)
downloadflake8-bug/69.tar.gz
Handle EPIPE IOErrors when using more than 1 jobbug/69
If someone is using flake8 and piping it to a command like `head`, the command they are piping flake8's output too may close the pipe earlier than flake8 expects. To avoid extraneous exception output being printed, we now catch IOErrors and check their errnos to ensure they're something we know we can ignore. This also provides flexibility to add further errnos for ignoring on a case-by-case basis. Closes #69
Diffstat (limited to 'run_tests.py')
0 files changed, 0 insertions, 0 deletions