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

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



commit d3629539b38764a785b5027091fa8a1536eeaf06
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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



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