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

[or-cvs] r12914: nick, is this acceptable syntax? it doesn't seem to break. (bridgedb/trunk/lib/bridgedb)



Author: arma
Date: 2007-12-21 19:14:42 -0500 (Fri, 21 Dec 2007)
New Revision: 12914

Modified:
   bridgedb/trunk/lib/bridgedb/Bridges.py
Log:
nick, is this acceptable syntax?
it doesn't seem to break.


Modified: bridgedb/trunk/lib/bridgedb/Bridges.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Bridges.py	2007-12-21 23:28:23 UTC (rev 12913)
+++ bridgedb/trunk/lib/bridgedb/Bridges.py	2007-12-22 00:14:42 UTC (rev 12914)
@@ -422,8 +422,7 @@
         assert self.rings
         for s in self.statsHolders:
             s.insert(bridge)
-        if bridge.running == False:
-            #XXXX Turn this to False or None.
+        if bridge.running == False or None:
             return
 
         bridgeID = bridge.getID()