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:
anodelman@mozilla.com 2007-09-05 09:22:13 -07:00
Родитель 36d04e340e
Коммит d8f61af4ae
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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