[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r19612: {torctl} Fix NEWDESC compatibility with Tor pre v0.2.2 (torctl/trunk/python/TorCtl)
Author: mikeperry
Date: 2009-06-02 04:30:25 -0400 (Tue, 02 Jun 2009)
New Revision: 19612
Modified:
torctl/trunk/python/TorCtl/TorCtl.py
Log:
Fix NEWDESC compatibility with Tor pre v0.2.2
Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py 2009-06-02 08:26:25 UTC (rev 19611)
+++ torctl/trunk/python/TorCtl/TorCtl.py 2009-06-02 08:30:25 UTC (rev 19612)
@@ -1148,7 +1148,7 @@
ids_verb = body.split(" ")
ids = []
for i in ids_verb:
- ids.append(i.replace("~", "=").split("=")[0])
+ ids.append(i.replace("~", "=").split("=")[0].replace("$",""))
event = NewDescEvent(evtype, ids)
elif evtype == "ADDRMAP":
# TODO: Also parse errors and GMTExpiry