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

[minion-cvs] Fix getNicknameByAddress.



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

Modified Files:
	ClientDirectory.py 
Log Message:
Fix getNicknameByAddress.

Index: ClientDirectory.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientDirectory.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- ClientDirectory.py	2 May 2004 18:45:15 -0000	1.39
+++ ClientDirectory.py	17 May 2004 21:37:05 -0000	1.40
@@ -713,11 +713,12 @@
            server is known, and a slash-separated string if multiple
            servers are known.
         """
+        #XXXX008 unit tests
         self.__scanAsNeeded()
         self._lock.read_in()
         try:
             nicknames = []
-            for desc,where in self.fullServerList:
+            for desc,where in self.serverList:
                 if addr in (desc.getIP(), desc.getHostname()):
                     if desc.getNickname() not in nicknames:
                         nicknames.append(desc.getNickname())