[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] 5482 - fix typo in variable names
commit 680ad65df00d16ee826be5a94a298c3f6a5a22a4
Author: aagbsn <aagbsn@xxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits