commit 7bd3af6a9da4afac92ab1b72cbb315e68e0b394e Author: Damian Johnson atagar@torproject.org Date: Sat Jul 9 18:37:34 2011 -0700
fix: tor startup errors caused stacktrace
Simple typo caused raised exceptions value to be left None. --- src/cli/controller.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cli/controller.py b/src/cli/controller.py index 5ba7f42..d4ee3e3 100644 --- a/src/cli/controller.py +++ b/src/cli/controller.py @@ -472,7 +472,7 @@ class TorManager: try: torctlConn, authType, authValue = TorCtl.preauth_connect(controlPort = int(CONFIG["wizard.default"]["Control"])) except IOError, exc: - raisedExc == exc + raisedExc = exc time.sleep(0.5)
if not torctlConn: raise raisedExc
tor-commits@lists.torproject.org