[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Win32 fixes: Unit tests pass again, and py2exe and bdis...
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv6637/lib/mixminion/server
Modified Files:
ServerMain.py
Log Message:
Win32 fixes: Unit tests pass again, and py2exe and bdist_wininst both
seem to work. The client looks happy: I have not a clue about the server.
Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- ServerMain.py 3 Dec 2003 23:18:53 -0000 1.105
+++ ServerMain.py 4 Dec 2003 05:02:50 -0000 1.106
@@ -801,7 +801,9 @@
def run(self):
"""Run the server; don't return unless we hit an exception."""
global GOT_HUP
- self.lockFile.replaceContents("%s\n"%os.getpid())
+ # See the win32 comment in replacecontents to learn why this is
+ # left-justified. :P
+ self.lockFile.replaceContents("%-10s\n"%os.getpid())
self.cleanQueues()