summaryrefslogtreecommitdiff
path: root/tko
diff options
context:
space:
mode:
authorjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-06-10 22:53:12 +0000
committerjamesren <jamesren@592f7852-d20e-0410-864c-8624ca9c26a4>2010-06-10 22:53:12 +0000
commitc4c2b85763ea1b4510c256510ea6121c13c22ce9 (patch)
treeb82fd1c7260f322c59828171a8d07d1f2eb82e74 /tko
parent6df983bf79dde4ea6bd47b0445fcd052fba40b4e (diff)
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 <darrenkuo@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4597 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rw-r--r--tko/parsers/version_0.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tko/parsers/version_0.py b/tko/parsers/version_0.py
index 10daf19c..7e8a5d88 100644
--- a/tko/parsers/version_0.py
+++ b/tko/parsers/version_0.py
@@ -174,7 +174,7 @@ class kernel(models.kernel):
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 @@ class test(models.test):
super(test, self).__init__(subdir, testname, status, reason,
test_kernel, machine, started_time,
finished_time, iterations,
- attributes)
+ attributes, labels)
@staticmethod