Removing unsupported signal() calls on Windows
SIGQUIT and SIGHUP are not supported. For details, see Python docs: http://docs.python.org/2/library/signal.html#signal.signal
This commit is contained in:
parent
6e9a16e90e
commit
a5fb6b7509
@ -43,9 +43,7 @@ def SetUpSignalHandler():
|
||||
handlers.ServerShutdown()
|
||||
|
||||
for sig in [ signal.SIGTERM,
|
||||
signal.SIGINT,
|
||||
signal.SIGHUP,
|
||||
signal.SIGQUIT ]:
|
||||
signal.SIGINT ]:
|
||||
signal.signal( sig, SignalHandler )
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user