[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Updates to run server on win32.



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv14156/lib/mixminion

Modified Files:
	Common.py 
Log Message:
Updates to run server on win32.

Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- Common.py	8 Dec 2003 02:22:56 -0000	1.123
+++ Common.py	8 Dec 2003 06:37:15 -0000	1.124
@@ -1346,13 +1346,13 @@
 
 def waitForChildren(onceOnly=0, blocking=1):
     """Wait until all subprocesses have finished.  Useful for testing."""
+    if sys.platform == 'win32':
+        LOG.trace("Skipping waitForChildren")
+        return
     if blocking:
         options = 0
     else:
         options = os.WNOHANG
-    if sys.platform == 'win32':
-        LOG.warn("Skipping waitForChildren")
-        return
     while 1:
         try:
             # WWWW This won't work on Windows.  What to do?