[or-cvs] r20693: {torflow} Fix atexit cleanup bug found by jn. (torflow/trunk/NetworkScanners/ExitAuthority)

mikeperry at seul.org mikeperry at seul.org
Tue Sep 29 11:15:22 UTC 2009


Author: mikeperry
Date: 2009-09-29 07:15:21 -0400 (Tue, 29 Sep 2009)
New Revision: 20693

Modified:
   torflow/trunk/NetworkScanners/ExitAuthority/soat.py
Log:

Fix atexit cleanup bug found by jn.



Modified: torflow/trunk/NetworkScanners/ExitAuthority/soat.py
===================================================================
--- torflow/trunk/NetworkScanners/ExitAuthority/soat.py	2009-09-29 10:22:43 UTC (rev 20692)
+++ torflow/trunk/NetworkScanners/ExitAuthority/soat.py	2009-09-29 11:15:21 UTC (rev 20693)
@@ -2580,7 +2580,7 @@
   c = PathSupport.Connection(s)
   c.debug(file(out_dir+"/control.log", "w", buffering=0))
   c.authenticate_cookie(file(cookie_file, "r"))
-  l = c.get_option("__LeaveStreamsUnattached")[0]
+  l = c.get_option("__LeaveStreamsUnattached")[0][1]
   h = ExitScanHandler(c, __selmgr, PathSupport.SmartSocket.StreamSelector)
 
   c.set_event_handler(h)



More information about the tor-commits mailing list