[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] 5482 - Pass fingerprint to getBridgeHistory, not wmtbac
commit 4423cc14b58a9efbac957c02c572a41982b8308b
Author: aagbsn <aagbsn@xxxxxxxx>
Date: Sun Nov 4 07:16:27 2012 -0800
5482 - Pass fingerprint to getBridgeHistory, not wmtbac
---
lib/bridgedb/Bridges.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index 80dee5c..d67d621 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -274,19 +274,19 @@ class Bridge:
more recently than it, or if it has been around for a Weighted Time of 8 days.
"""
db = bridgedb.Storage.getDB()
- return db.getBridgeHistory(self.wmtbac).familiar
+ return db.getBridgeHistory(self.fingerprint).familiar
@property
def wfu(self):
"""Weighted Fractional Uptime"""
db = bridgedb.Storage.getDB()
- return db.getBridgeHistory(self.wmtbac).weightedFractionalUptime
+ return db.getBridgeHistory(self.fingerprint).weightedFractionalUptime
@property
def wt(self):
"""Weighted Time"""
db = bridgedb.Storage.getDB()
- return db.getBridgeHistory(self.wmtbac).weightedTime
+ return db.getBridgeHistory(self.fingerprint).weightedTime
@property
def wmtbac(self):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits