[tor-commits] [sbws/master] fix: relaylist: Stop passing argument to self.is_old

juga at torproject.org juga at torproject.org
Mon Mar 9 18:01:37 UTC 2020


commit 380a80624ebd1dda9066cd5a4d8dd7c26c14e196
Author: juga0 <juga at riseup.net>
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.





More information about the tor-commits mailing list