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

[minion-cvs] Fix a bug wherein recommended servers with uppercase le...



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

Modified Files:
	ClientDirectory.py 
Log Message:
Fix a bug wherein recommended servers with uppercase letters in their names would display as bad.

Index: ClientDirectory.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientDirectory.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ClientDirectory.py	20 Nov 2003 08:51:27 -0000	1.16
+++ ClientDirectory.py	24 Nov 2003 02:53:39 -0000	1.17
@@ -410,7 +410,7 @@
             if at and not sd.isValidAt(at):
                 continue
             nickname = sd.getNickname()
-            isGood = self.goodServerNicknames.get(nickname, 0)
+            isGood = self.goodServerNicknames.get(nickname.lower(), 0)
             if goodOnly and not isGood:
                 continue
             va, vu = sd['Server']['Valid-After'], sd['Server']['Valid-Until']