[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/maint-1.1] fix: relaylist: Stop passing argument to self.is_old
commit 380a80624ebd1dda9066cd5a4d8dd7c26c14e196
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Mar 3 18:28:48 2020 +0000
fix: relaylist: Stop passing argument to self.is_old
---
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 65ec526..64a53d9 100644
--- a/sbws/lib/relaylist.py
+++ b/sbws/lib/relaylist.py
@@ -471,7 +471,7 @@ class RelayList:
# If the relay is not in the current consensus but is not "old"
# yet, add it to the new list of relays too, though its timestamp,
# router status and descriptor can't be updated.
- elif not r.is_old(self._measurements_period):
+ elif not r.is_old():
new_relays.append(r)
# Otherwise, don't add it to the new list of relays.
# For debugging, count the old relays that will be discarded.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits