Fixed a minor bug in version_0.py. The constructor was missing an argument. The 
number of arguments to the version_0.test constructor was inconsistent with 
that of test constructor in version_1 and model.

Signed-off-by: Darren Kuo <[email protected]>

--- autotest/tko/parsers/version_0.py   2010-06-08 16:10:13.000000000 -0700
+++ autotest/tko/parsers/version_0.py   2010-06-08 16:10:13.000000000 -0700
@@ -174,7 +174,7 @@
 class test(models.test):
     def __init__(self, subdir, testname, status, reason, test_kernel,
                  machine, started_time, finished_time, iterations,
-                 attributes):
+                 attributes, labels):
         # for backwards compatibility with the original parser
         # implementation, if there is no test version we need a NULL
         # value to be used; also, if there is a version it should
@@ -187,7 +187,7 @@
         super(test, self).__init__(subdir, testname, status, reason,
                                    test_kernel, machine, started_time,
                                    finished_time, iterations,
-                                   attributes)
+                                   attributes, labels)
 
 
     @staticmethod
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to