[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix getNicknameByAddress fix.
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv20439/lib/mixminion
Modified Files:
ClientDirectory.py
Log Message:
Fix getNicknameByAddress fix.
Index: ClientDirectory.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientDirectory.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- ClientDirectory.py 17 May 2004 21:37:05 -0000 1.40
+++ ClientDirectory.py 17 May 2004 21:40:15 -0000 1.41
@@ -718,7 +718,7 @@
self._lock.read_in()
try:
nicknames = []
- for desc,where in self.serverList:
+ for desc in self.allServers:
if addr in (desc.getIP(), desc.getHostname()):
if desc.getNickname() not in nicknames:
nicknames.append(desc.getNickname())
@@ -911,6 +911,7 @@
as returned by __find. If 'isEntry' or 'isExit' is true, return
servers suitable as entries or exits. Exclude servers in
the not-recommended or blocked lists.
+ DOCDOC
"""
if startAt is None:
startAt = time.time()