In py 2.4 it is illegal syntax to use parenthesis and no arguments
in Class definitions. So let's fix it so we don't inutilize
autotest in py 2.4 clients because of this silly mistake.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 client/common_lib/utils.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py
index 6a26fa8..0a142ec 100644
--- a/client/common_lib/utils.py
+++ b/client/common_lib/utils.py
@@ -324,7 +324,7 @@ def write_keyval(path, dictionary, type_tag=None):
         keyval.close()
 
 
-class FileFieldMonitor():
+class FileFieldMonitor:
     """
     Monitors the information from the file and reports it's values.
 
@@ -981,7 +981,7 @@ def get_cpu_percentage(function, *args, **dargs):
     return cpu_percent, to_return
 
 
-class SystemLoad():
+class SystemLoad:
     """
     Get system and/or process values and return average value of load.
     """
-- 
1.7.2.3

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to