summaryrefslogtreecommitdiff
path: root/tko/parse
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-01 14:54:18 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-01 14:54:18 +0000
commita1c3ed9005a31f0d95f92992fe13a901ae3319f9 (patch)
treedf82903cb7043540ad6607079e90d1f8f2a611be /tko/parse
parent64be31fcf8c3ab2d217f79680a62c0da79866e3e (diff)
Add a proper machine table rather than just using the hostname
Should have done this in the first place ;-( Added a new machine class to frontend, etc as well. THIS WILL NECESSITATE REBUILDING THE DATABASE Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@730 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/parse')
-rwxr-xr-xtko/parse2
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/parse b/tko/parse
index 6942865e..50c5927f 100755
--- a/tko/parse
+++ b/tko/parse
@@ -25,7 +25,7 @@ for j in jobs_list:
print "\t%s %s %s" % (test.subdir, test.status, test.reason)
db.insert_job(j, job)
-rows = db.select('distinct machine', 'jobs', {})
+rows = db.select('distinct hostname', 'machines', {})
machines = [row[0] for row in rows]
for machine in machines: