[Zope-Checkins] CVS: Zope - z2.py:1.75

Brian Lloyd brian@zope.com
Thu, 20 Jun 2002 13:49:02 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv14935

Modified Files:
	z2.py 
Log Message:
Fixed boo boo: import SignalHandler didn't check for posix.


=== Zope/z2.py 1.74 => 1.75 ===
 import ZServer
 
-# install signal handlers
-from SignalHandler import SignalHandler
+# install signal handlers if on posix
+if os.name == 'posix':
+    from SignalHandler import SignalHandler
 
 if Zpid and not READ_ONLY:
     import App.FindHomes