diff MoinMoin/support/flup/server/threadedserver.py @ 5804:2e7f76626b58

update flup to repo tip (no release since 1.0.2 / 2.5y)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 01 Dec 2011 02:38:57 +0100
parents 6049883eb89e
children
line wrap: on
line diff
--- a/MoinMoin/support/flup/server/threadedserver.py	Thu Dec 01 02:26:16 2011 +0100
+++ b/MoinMoin/support/flup/server/threadedserver.py	Thu Dec 01 02:38:57 2011 +0100
@@ -105,7 +105,8 @@
             self._mainloopPeriodic()
 
         # Restore signal handlers.
-        self._restoreSignalHandlers()
+        if not sys.platform.startswith('win'):
+            self._restoreSignalHandlers()
 
         # Return bool based on whether or not SIGHUP was received.
         return self._hupReceived