Change 'tag' to 'label' for labelling jobs with arbitrary info
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@810 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/server_job.py b/server/server_job.py
index 79124f7..f60278f 100755
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -65,7 +65,7 @@
the control file for this job
"""
- def __init__(self, control, args, resultdir, tag, user, client=False):
+ def __init__(self, control, args, resultdir, label, user, client=False):
"""
control
The control file (pathname of)
@@ -73,8 +73,8 @@
args to pass to the control file
resultdir
where to throw the results
- tag
- tag for the job
+ label
+ label for the job
user
Username for the job (email address)
client
@@ -92,7 +92,7 @@
if not os.path.exists(resultdir):
os.mkdir(resultdir)
self.status = os.path.join(resultdir, 'status')
- self.tag = tag
+ self.label = label
self.user = user
self.args = args
self.client = client
@@ -100,7 +100,7 @@
if os.path.exists(self.status):
os.unlink(self.status)
- job_data = { 'tag' : tag, 'user' : user}
+ job_data = { 'label' : label, 'user' : user}
write_keyval(self.resultdir, job_data)