[tor-commits] [sbws/master] Fix dumb logic error in RelayList.bad_exits(); Thanks @teor2345
pastly at torproject.org
pastly at torproject.org
Wed Jul 11 15:05:40 UTC 2018
commit d1537ac69df8d744053f8334c99f7126ad317dab
Author: Matt Traudt <sirmatt at ksu.edu>
Date: Mon Jul 2 08:39:41 2018 -0400
Fix dumb logic error in RelayList.bad_exits(); Thanks @teor2345
GH: closes #218
---
sbws/lib/relaylist.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/lib/relaylist.py b/sbws/lib/relaylist.py
index c3bb745..11390de 100644
--- a/sbws/lib/relaylist.py
+++ b/sbws/lib/relaylist.py
@@ -165,7 +165,7 @@ class RelayList:
@property
def bad_exits(self):
- return self._relays_without_flag(Flag.BADEXIT)
+ return self._relays_with_flag(Flag.BADEXIT)
@property
def non_exits(self):
More information about the tor-commits
mailing list