[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] TorNet: get rid of useless assignments



commit 7ab564b5c99cdc2e64e696ab1af231bbc05a11ca
Author: c <c@xxxxxxxxxxx>
Date:   Sun May 17 04:10:26 2020 +0000

    TorNet: get rid of useless assignments
    
    most_recent_bootstrap_status and most_recent_desc_status are set first
    thing within the while loop
---
 lib/chutney/TorNet.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index 16607c0..d9b1254 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -2266,8 +2266,6 @@ class Network(object):
 
         checks_since_last_print = 0
 
-        most_recent_bootstrap_status = [ None ] * len(controllers)
-        most_recent_desc_status = dict()
         while True:
             all_bootstrapped = True
             most_recent_bootstrap_status = [ ]



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits