[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Check server configuration before creating any director...
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv23768/lib/mixminion/server
Modified Files:
ServerMain.py
Log Message:
Check server configuration before creating any directories. This resolves a bug when starting a server for the first time
Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- ServerMain.py 6 Jun 2003 06:12:54 -0000 1.76
+++ ServerMain.py 10 Jun 2003 14:12:31 -0000 1.77
@@ -623,7 +623,7 @@
self.config = config
homeDir = config['Server']['Homedir']
- exists = checkHomedirVersion(config)
+ exists = getHomedirVersion(config)
createPrivateDir(homeDir)
if not exists:
@@ -1022,6 +1022,7 @@
print "Obsolete command. Use 'mixminion server-start' instead."
config = configFromServerArgs(cmd, args, _SERVER_START_USAGE)
+ checkHomedirVersion(config)
try:
# Configure the log, but delay disabling stderr until the last
# possible minute; we want to keep echoing to the terminal until