[or-cvs] r16001: Python 2.4 doesn't like () in class definitions. (torflow/branches/gsoc2008)

mikeperry at seul.org mikeperry at seul.org
Wed Jul 16 22:46:10 UTC 2008


Author: mikeperry
Date: 2008-07-16 18:46:10 -0400 (Wed, 16 Jul 2008)
New Revision: 16001

Modified:
   torflow/branches/gsoc2008/soatstats.py
Log:

Python 2.4 doesn't like () in class definitions.



Modified: torflow/branches/gsoc2008/soatstats.py
===================================================================
--- torflow/branches/gsoc2008/soatstats.py	2008-07-16 22:40:34 UTC (rev 16000)
+++ torflow/branches/gsoc2008/soatstats.py	2008-07-16 22:46:10 UTC (rev 16001)
@@ -66,7 +66,7 @@
     def __init__(self, exit_node, ssh_site, status):
         super(OpenSSHTestResult, self).__init__(exit_node, ssh_site, status)
 
-class DataHandler():
+class DataHandler:
     ''' Class for saving and managing test result data '''
     def filterResults(self, results, 
             show_ssh, show_http, show_ssl, 
@@ -184,7 +184,7 @@
 # Displaying stats on the console
 #
 
-class StatsConsole():
+class StatsConsole:
     ''' Class to display statistics from CLI'''
     
     def Listen(self):



More information about the tor-commits mailing list