[tor-commits] [arm/master] Calling stem for NEWNYM signals
atagar at torproject.org
atagar at torproject.org
Mon Dec 17 04:25:17 UTC 2012
commit 655bb18e2c21ea21c34d2ad444ac2e0e820d9f93
Author: Damian Johnson <atagar at torproject.org>
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()
More information about the tor-commits
mailing list