diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-07 00:49:25 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-07 00:49:25 +0000 |
commit | 7bc3d7566e826be2a4bcd1fbef4e4fe3e9edce2c (patch) | |
tree | 63b138497339c827f705d3f8e74f2a306f0fea59 /tko | |
parent | 2afad888bf44133da561769b5aa1f482db4041ee (diff) |
Fix display.box() calls to use link arg in machine_kernel_test.cgi
git-svn-id: svn://test.kernel.org/autotest/trunk@768 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rwxr-xr-x | tko/machine_kernel_test.cgi | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tko/machine_kernel_test.cgi b/tko/machine_kernel_test.cgi index f87f2db3..c760e18e 100755 --- a/tko/machine_kernel_test.cgi +++ b/tko/machine_kernel_test.cgi @@ -57,12 +57,8 @@ def print_kernel_machines_vs_test(machines, kernel): if not results[machine.idx].has_key(testname): continue test = results[machine.idx][testname] - if test.url: - html = '<a href="%s">%s</a>' % \ - (test.url, test.status_word) - else: - html = test.status_word - box = display.box(html, color_key = test.status_word) + box = display.box(test.status_word, + color_key = test.status_word, link = test.url) row.append(box) matrix.append(row) matrix.append(header_row) |