зеркало из https://github.com/mozilla/pjs.git
Bug 390845 - integrate Talos with new pageloader. Bustage fix for sending data in chunks to graph server, variable initialized in wrong location. r=anodelman p=anodelman
This commit is contained in:
Родитель
ba3e3bd5ef
Коммит
5836ba6727
|
@ -192,10 +192,10 @@ def send_to_graph(title, date, browser_config, results):
|
|||
val_list = cd[count_type]
|
||||
chunks = chunk_list(val_list)
|
||||
chunk_link = ''
|
||||
i = 0
|
||||
for chunk in chunks:
|
||||
filename = tempfile.mktemp()
|
||||
tmpf = open(filename, "w")
|
||||
i = 0
|
||||
for val in chunk:
|
||||
tmpf.write(result_format2 % (float(val), res + "_" + count_type.replace("%", "Percent"), tbox, i, date, browser_config['branch'], browser_config['buildid'], "discrete"))
|
||||
i += 1
|
||||
|
|
Загрузка…
Ссылка в новой задаче