[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Fix dumb logic error in RelayList.bad_exits(); Thanks @teor2345
commit d1537ac69df8d744053f8334c99f7126ad317dab
Author: Matt Traudt <sirmatt@xxxxxxx>
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):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits