[or-cvs] [torperf/master] add a missing colon, fix part of bug 2515

sebastian at torproject.org sebastian at torproject.org
Tue Feb 8 17:19:10 UTC 2011


commit ab3e2d9a6bb5d5323ef755c74bb2223950817269
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Tue Feb 8 18:18:28 2011 +0100

    add a missing colon, fix part of bug 2515
---
 extra_stats.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extra_stats.py b/extra_stats.py
index 0431730..eac037b 100644
--- a/extra_stats.py
+++ b/extra_stats.py
@@ -12,7 +12,7 @@ class WriteStats(TorCtl.PostEventListener):
 
   def connect(self):
     self._conn = TorCtl.connect(HOST, self._port)
-    if not self._conn
+    if not self._conn:
       sys.exit(2)
 
   def setup_listener(self):



More information about the tor-commits mailing list