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

[or-cvs] r18657: {torctl} Kill unnecessary and incorrect remove. (torctl/trunk/python/TorCtl)



Author: mikeperry
Date: 2009-02-20 06:59:09 -0500 (Fri, 20 Feb 2009)
New Revision: 18657

Modified:
   torctl/trunk/python/TorCtl/TorCtl.py
Log:

Kill unnecessary and incorrect remove.



Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py	2009-02-20 10:25:08 UTC (rev 18656)
+++ torctl/trunk/python/TorCtl/TorCtl.py	2009-02-20 11:59:09 UTC (rev 18657)
@@ -1099,7 +1099,6 @@
       if self.routers[i].refcount == 0:
         self.routers[i].deleted = True
         plog("INFO", "Expiring non-running router "+i)
-        self.sorted_r.remove(self.routers[i])
         del self.routers[i]
       else:
         plog("INFO", "Postponing expiring non-running router "+i)