fix SIGPIPE pb (see http://mail.python.org/pipermail/python-list/2004-June/227039.html for details)
This commit is contained in:
parent
7092ef1552
commit
07ce973e32
|
@ -30,6 +30,8 @@ import traceback
|
|||
import threading
|
||||
import select
|
||||
import socket
|
||||
import signal
|
||||
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
||||
|
||||
from calendar import timegm
|
||||
|
||||
|
|
Loading…
Reference in New Issue