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

[or-cvs] r15146: lc all flags (bridgedb/trunk/lib/bridgedb)



Author: nickm
Date: 2008-06-11 18:36:20 -0400 (Wed, 11 Jun 2008)
New Revision: 15146

Modified:
   bridgedb/trunk/lib/bridgedb/Bridges.py
Log:
lc all flags

Modified: bridgedb/trunk/lib/bridgedb/Bridges.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Bridges.py	2008-06-11 22:32:16 UTC (rev 15145)
+++ bridgedb/trunk/lib/bridgedb/Bridges.py	2008-06-11 22:36:20 UTC (rev 15146)
@@ -219,7 +219,7 @@
                 raise TypeError("Count %s out of range."%count)
 
         self.needPorts = needPorts[:]
-        self.needFlags = needFlags[:]
+        self.needFlags = [(flag.lower(),count) for flag, count in needFlags[:] ]
 
 class BridgeRing(BridgeHolder):
     """Arranges bridges in a ring based on an hmac function."""