[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torflow/master] Fix c_node exception typo.



commit 02562661714b840417c8d6ef8ac2c47f7a8ee47c
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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))
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits