[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Avoid some pychecker-crashes.
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv28386/lib/mixminion/server
Modified Files:
DNSFarm.py
Log Message:
Avoid some pychecker-crashes.
Index: DNSFarm.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/DNSFarm.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DNSFarm.py 8 Jan 2004 22:33:33 -0000 1.7
+++ DNSFarm.py 9 Jan 2004 00:46:12 -0000 1.8
@@ -136,7 +136,8 @@
del cache[name]
# Remove dead threads from self.threads.
- self.threads = [ thr for thr in self.threads if thr.isAlive() ]
+ liveThreads = [ thr for thr in self.threads if thr.isAlive() ]
+ self.threads = liveThreads
# Make sure we have enough threads.
if len(self.threads) < MIN_THREADS: