Don't try to register SIGHUP on Windows.

This commit is contained in:
Jeremy Fincher 2004-08-29 18:09:20 +00:00
parent 8baa35a250
commit 7aac173140

View File

@ -89,6 +89,7 @@ def _hupHandler(sig, frame):
log.info('Received SIGHUP, reloading configuration.') log.info('Received SIGHUP, reloading configuration.')
_reload() _reload()
if os.name == 'posix':
signal.signal(signal.SIGHUP, _hupHandler) signal.signal(signal.SIGHUP, _hupHandler)