[tor-commits] [bridgedb/master] Use new bridgedb.bridges.Bridge API in bridgedb.Stability.

isis at torproject.org isis at torproject.org
Sat Mar 21 02:02:59 UTC 2015


commit d3629539b38764a785b5027091fa8a1536eeaf06
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed Dec 24 08:45:20 2014 +0000

    Use new bridgedb.bridges.Bridge API in bridgedb.Stability.
---
 lib/bridgedb/Stability.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/Stability.py b/lib/bridgedb/Stability.py
index 4c3777d..981e005 100644
--- a/lib/bridgedb/Stability.py
+++ b/lib/bridgedb/Stability.py
@@ -143,7 +143,7 @@ def addOrUpdateBridgeHistory(bridge, timestamp):
             lastSeenWithThisAddressAndPort = timestamp * long(1000)
     
             bhe = BridgeHistory(
-                    bridge.fingerprint, bridge.ip, bridge.orport,
+                    bridge.fingerprint, bridge.address, bridge.orPort,
                     0,#weightedUptime
                     0,#weightedTime
                     0,#weightedRunLength





More information about the tor-commits mailing list