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

nickm at torproject.org nickm at torproject.org
Tue Jul 7 15:12:53 UTC 2020


commit 7ab564b5c99cdc2e64e696ab1af231bbc05a11ca
Author: c <c at chroniko.jp>
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 = [ ]





More information about the tor-commits mailing list