[tor-commits] [bridgedb/master] 5482 - fix typo in variable names
aagbsn at torproject.org
aagbsn at torproject.org
Wed Apr 17 00:26:44 UTC 2013
commit 680ad65df00d16ee826be5a94a298c3f6a5a22a4
Author: aagbsn <aagbsn at extc.org>
Date: Sun Nov 4 07:23:25 2012 -0800
5482 - fix typo in variable names
weighedTime and allWeighedTime should be:
weightedTime and allWeightedTime
---
lib/bridgedb/Stability.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/bridgedb/Stability.py b/lib/bridgedb/Stability.py
index a54e67c..a4abcd9 100644
--- a/lib/bridgedb/Stability.py
+++ b/lib/bridgedb/Stability.py
@@ -114,7 +114,7 @@ class BridgeHistory(object):
numBridges = len(allWeightedTimes)
logging.debug("Got %d weightedTimes", numBridges)
allWeightedTimes.sort(lambda x,y: cmp(x.weightedTime, y.weightedTime))
- if self.weighedTime > allWeighedTimes[numBridges/8].weightedTime:
+ if self.weightedTime > allWeightedTimes[numBridges/8].weightedTime:
return True
return False
More information about the tor-commits
mailing list