[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit ab3e2d9a6bb5d5323ef755c74bb2223950817269
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
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):