[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Make Recommended-Servers work.



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv14779/lib/mixminion

Modified Files:
	ServerInfo.py 
Log Message:
Make Recommended-Servers work.

Index: ServerInfo.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ServerInfo.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- ServerInfo.py	28 May 2003 17:26:53 -0000	1.44
+++ ServerInfo.py	28 May 2003 19:12:13 -0000	1.45
@@ -343,12 +343,17 @@
         servers = [ ServerInfo(string=s,
                                validatedDigests=validatedDigests)
                     for s in servercontents ]
+        self.allServers = servers[:] #DOCDOC
         self.servers = [ s for s in servers
                          if s.getNickname().lower() in goodServers ]
 
     def getServers(self):
         """Return a list of ServerInfo objects in this directory"""
         return self.servers
+
+    def getAllServers(self):
+        """DOCDOC"""
+        return self.allServers
 
     def __getitem__(self, item):
         return self.header[item]