[tor-commits] [torflow/master] Fix c_node exception typo.
mikeperry at torproject.org
mikeperry at torproject.org
Tue Dec 6 03:30:50 UTC 2011
commit 02562661714b840417c8d6ef8ac2c47f7a8ee47c
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Mon Dec 5 19:29:42 2011 -0800
Fix c_node exception typo.
---
NetworkScanners/BwAuthority/aggregate.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/NetworkScanners/BwAuthority/aggregate.py b/NetworkScanners/BwAuthority/aggregate.py
index 1207b07..f8573a4 100755
--- a/NetworkScanners/BwAuthority/aggregate.py
+++ b/NetworkScanners/BwAuthority/aggregate.py
@@ -515,7 +515,7 @@ def main(argv):
prev_pid_avg = 2*pid_avg
while prev_pid_avg > pid_avg:
- f_nodes = filter(lambda n: n.desc_bw >= pid_avg, c_nodes)
+ f_nodes = filter(lambda n: n.desc_bw >= pid_avg, f_nodes)
prev_pid_avg = pid_avg
pid_avg = sum(map(lambda n: n.filt_bw, f_nodes))/float(len(f_nodes))
More information about the tor-commits
mailing list