[or-cvs] r15856: Add descriptor patch from Goodell. (torctl/trunk/python/TorCtl)

mikeperry at seul.org mikeperry at seul.org
Sat Jul 12 18:02:28 UTC 2008


Author: mikeperry
Date: 2008-07-12 14:02:28 -0400 (Sat, 12 Jul 2008)
New Revision: 15856

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

Add descriptor patch from Goodell.



Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py	2008-07-12 17:39:27 UTC (rev 15855)
+++ torctl/trunk/python/TorCtl/TorCtl.py	2008-07-12 18:02:28 UTC (rev 15856)
@@ -772,7 +772,7 @@
               %(circid, reason, "".join(flags)))
 
   def post_descriptor(self, desc):
-    self.sendAndRecv("+POSTDESCRIPTOR\r\n%s"%escape_dots(desc))
+    self.sendAndRecv("+POSTDESCRIPTOR purpose=controller\r\n%s"%escape_dots(desc))
 
 def parse_ns_body(data):
   """Parse the body of an NS event or command into a list of



More information about the tor-commits mailing list