[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [arm/master] Calling stem for NEWNYM signals
commit 655bb18e2c21ea21c34d2ad444ac2e0e820d9f93
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Dec 16 13:29:54 2012 -0800
Calling stem for NEWNYM signals
Replacing the TorCtl NEWNYM call with stem.
---
src/util/torTools.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/torTools.py b/src/util/torTools.py
index 79b4e70..7657dcb 100644
--- a/src/util/torTools.py
+++ b/src/util/torTools.py
@@ -828,7 +828,7 @@ class Controller(TorCtl.PostEventListener):
if self.isAlive():
self._lastNewnym = time.time()
- self.conn.send_signal("NEWNYM")
+ self.controller.signal(stem.Signal.NEWNYM)
self.connLock.release()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits