зеркало из https://github.com/mozilla/pjs.git
Bug 413714 - cleanup talos displays on tinderbox Bustage fix, trying to append float to string without str() a/r=anodelman
This commit is contained in:
Родитель
5e8092781b
Коммит
6fb4a88ef0
|
@ -156,7 +156,7 @@ def chunk_list(val_list):
|
||||||
def send_to_graph(results_server, results_link, title, date, browser_config, results):
|
def send_to_graph(results_server, results_link, title, date, browser_config, results):
|
||||||
tbox = title
|
tbox = title
|
||||||
url_format = "http://%s/%s"
|
url_format = "http://%s/%s"
|
||||||
link_format= "<a href = \"%s\">%s</a>"
|
link_format= "<a href=\"%s\">%s</a>"
|
||||||
#value, testname, tbox, timeval, date, branch, buildid, type, data
|
#value, testname, tbox, timeval, date, branch, buildid, type, data
|
||||||
result_format = "%.2f,%s,%s,%d,%d,%s,%s,%s,%s,\n"
|
result_format = "%.2f,%s,%s,%d,%d,%s,%s,%s,%s,\n"
|
||||||
result_format2 = "%.2f,%s,%s,%d,%d,%s,%s,%s,\n"
|
result_format2 = "%.2f,%s,%s,%d,%d,%s,%s,%s,\n"
|
||||||
|
@ -235,7 +235,7 @@ def send_to_graph(results_server, results_link, title, date, browser_config, res
|
||||||
if linkName in ('tp_pbytes', 'tp_%cpu'):
|
if linkName in ('tp_pbytes', 'tp_%cpu'):
|
||||||
continue
|
continue
|
||||||
if float(values[2]) > 0:
|
if float(values[2]) > 0:
|
||||||
linkName += ": " + values[2]
|
linkName += ": " + str(values[2])
|
||||||
url = url_format % (results_server, values[0])
|
url = url_format % (results_server, values[0])
|
||||||
link = link_format % (url, linkName)
|
link = link_format % (url, linkName)
|
||||||
first_results = first_results + "RETURN:" + link + '<br>'
|
first_results = first_results + "RETURN:" + link + '<br>'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче