[or-cvs] r18572: {torctl} Woops, read_routers, not read_router. (torctl/trunk/python/TorCtl)

mikeperry at seul.org mikeperry at seul.org
Mon Feb 16 12:22:04 UTC 2009


Author: mikeperry
Date: 2009-02-16 07:22:04 -0500 (Mon, 16 Feb 2009)
New Revision: 18572

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

Woops, read_routers, not read_router.



Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py	2009-02-16 11:46:12 UTC (rev 18571)
+++ torctl/trunk/python/TorCtl/TorCtl.py	2009-02-16 12:22:04 UTC (rev 18572)
@@ -1134,7 +1134,7 @@
     update = False
     for i in d.idlist:
       ns = self.c.get_network_status("id/"+i)
-      r = self.c.read_router(ns)
+      r = self.c.read_routers(ns)
       if r and r.idhex in self.consensus:
         if ns.orhash != self.consensus[r.idhex].orhash:
           plog("WARN", "Getinfo and consensus disagree for "+r.idhex)



More information about the tor-commits mailing list