[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Really patch the initialization bug
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv24509/lib/mixminion/server
Modified Files:
ServerMain.py
Log Message:
Really patch the initialization bug
Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- ServerMain.py 10 Jun 2003 14:12:31 -0000 1.77
+++ ServerMain.py 10 Jun 2003 14:28:49 -0000 1.78
@@ -626,7 +626,8 @@
exists = getHomedirVersion(config)
createPrivateDir(homeDir)
- if not exists:
+ if exists != SERVER_HOMEDIR_VERSION:
+ # If we reach this point, the homedir is uninitialized.
writeFile(os.path.join(homeDir, "version"),
SERVER_HOMEDIR_VERSION, 0644)