Skip to content

Commit 1370618

Browse files
committed
fix(client): don't raise IOError when pipe closes
1 parent 34cce83 commit 1370618

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

client/deis.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
from termcolor import colored
7575
import urllib3.contrib.pyopenssl
7676

77+
# Don't throw IOError when a pipe closes
78+
# https://github.com/deis/deis/issues/3764
79+
from signal import signal, SIGPIPE, SIG_DFL
80+
signal(SIGPIPE, SIG_DFL)
81+
7782
__version__ = '1.7.0-dev'
7883

7984
# what version of the API is this client compatible with?

0 commit comments

Comments
 (0)