[metrics-tasks/master] Bad exits are no exits (#6232).

24 Jul
2012
24 Jul
'12
10:11 a.m.
commit 15fd1870a94cc8203c30ff1a7480b10fc20d43bf Author: Karsten Loesing <karsten.loesing@gmx.net> Date: Tue Jul 24 09:42:57 2012 +0200 Bad exits are no exits (#6232). --- task-6232/pyentropy.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/task-6232/pyentropy.py b/task-6232/pyentropy.py index 99d83da..08e0218 100644 --- a/task-6232/pyentropy.py +++ b/task-6232/pyentropy.py @@ -50,7 +50,7 @@ class Router: self.bandwidth = int(values[0].split('=')[1]) def add_flags(self, values): - if "Exit" in values: + if "Exit" in values and not "BadExit" in values: self.is_exit = True if "Guard" in values: self.is_guard = True
4714
Age (days ago)
4714
Last active (days ago)
0 comments
1 participants
participants (1)
-
karsten@torproject.org