Skip to content

Commit 66a4381

Browse files
committed
Merge pull request #3770 from olalonde/fix-pipe-error
Fixes issue #3764. Dont throw IOError when pipe closes.
2 parents 90fae7d + 1370618 commit 66a4381

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)