[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] Fix weird think-o in processingthread code
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv9938/lib/mixminion/server
Modified Files:
ServerMain.py
Log Message:
Fix weird think-o in processingthread code
Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- ServerMain.py 4 Feb 2003 02:33:47 -0000 1.34
+++ ServerMain.py 5 Feb 2003 06:45:51 -0000 1.35
@@ -304,10 +304,10 @@
def __call__(self):
raise self
- def __init__(self, incomingQueue):
+ def __init__(self):
"""Given a MessageQueue object, create a new processing thread."""
threading.Thread.__init__(self)
- self.mqueue = incomingQueue
+ self.mqueue = MessageQueue()
def shutdown(self):
LOG.info("Telling processing thread to shut down.")
@@ -441,7 +441,7 @@
self.outgoingQueue.count())
self.cleaningThread = CleaningThread()
- self.processingThread = ProcessingThread(self.incomingQueue)
+ self.processingThread = ProcessingThread()
LOG.debug("Connecting queues")
self.incomingQueue.connectQueues(mixPool=self.mixPool,