[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Debug refactored ClientDirectory. Now it will be easie...
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv8278/lib/mixminion/server
Modified Files:
ServerConfig.py ServerQueue.py
Log Message:
Debug refactored ClientDirectory. Now it will be easier to use it for pinging.
Index: ServerConfig.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerConfig.py,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- ServerConfig.py 26 Apr 2004 16:55:46 -0000 1.55
+++ ServerConfig.py 2 May 2004 18:45:16 -0000 1.56
@@ -240,6 +240,9 @@
def isServerConfig(self):
"""DOCDOC"""
return 1
+ def getDirectoryRoot(self):
+ """DOCDOC"""
+ return os.path.join(self.getWorkDir(),"dir")
def _validateRetrySchedule(mixInterval, schedule, sectionName):
"""Backend for ServerConfig.validateRetrySchedule -- separated for testing.
Index: ServerQueue.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerQueue.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- ServerQueue.py 6 Mar 2004 00:04:38 -0000 1.38
+++ ServerQueue.py 2 May 2004 18:45:16 -0000 1.39
@@ -85,6 +85,7 @@
self.lastAttempt = state[2]
self.address = state[3]
else:
+ #XXXX008 This is way too extreme.
raise MixFatalError("Unrecognized delivery state")
self.pending = None