[tor-commits] [bridgedb/master] 5482 - Pass fingerprint to getBridgeHistory, not wmtbac
aagbsn at torproject.org
aagbsn at torproject.org
Wed Apr 17 00:26:44 UTC 2013
commit 4423cc14b58a9efbac957c02c572a41982b8308b
Author: aagbsn <aagbsn at extc.org>
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):
More information about the tor-commits
mailing list