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

[tor-commits] [bridgedb/develop] Fix bug in Bridge.setStatus(stable=True).



commit b0cfd90ec1e2b72aa85d3a90ce360743f1089bc3
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Thu Mar 26 23:48:07 2015 +0000

    Fix bug in Bridge.setStatus(stable=True).
---
 lib/bridgedb/bridges.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
index 86123b2..1121a0b 100644
--- a/lib/bridgedb/bridges.py
+++ b/lib/bridgedb/bridges.py
@@ -668,7 +668,7 @@ class BridgeBackwardsCompatibility(BridgeBase):
             self.flags.running = bool(running)
         if stable is not None:
             self.stable = bool(stable)
-            self.flags.stable = bool(running)
+            self.flags.stable = bool(stable)
 
     def getConfigLine(self, includeFingerprint=False, addressClass=None,
                       request=None, transport=None):



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits