[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
In directory moria.mit.edu:/tmp/cvs-serv28386/lib/mixminion

Modified Files:
	ServerInfo.py 
Log Message:
Avoid some pychecker-crashes.

Index: ServerInfo.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ServerInfo.py,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- ServerInfo.py	8 Jan 2004 23:07:31 -0000	1.74
+++ ServerInfo.py	9 Jan 2004 00:46:12 -0000	1.75
@@ -565,8 +565,9 @@
                                validatedDigests=validatedDigests)
                     for s in servercontents ]
         self.allServers = servers[:]
-        self.servers = [ s for s in servers
-                         if s.getNickname().lower() in self.goodServerNames ]
+        goodServers = [ s for s in servers
+                        if s.getNickname().lower() in self.goodServerNames ]
+        self.servers = goodServers
 
     def getServers(self):
         """Return a list of recommended ServerInfo objects in this directory"""