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
Родитель ba3e3bd5ef
Коммит 5836ba6727
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -192,10 +192,10 @@ def send_to_graph(title, date, browser_config, results):
val_list = cd[count_type] val_list = cd[count_type]
chunks = chunk_list(val_list) chunks = chunk_list(val_list)
chunk_link = '' chunk_link = ''
i = 0
for chunk in chunks: for chunk in chunks:
filename = tempfile.mktemp() filename = tempfile.mktemp()
tmpf = open(filename, "w") tmpf = open(filename, "w")
i = 0
for val in chunk: 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")) tmpf.write(result_format2 % (float(val), res + "_" + count_type.replace("%", "Percent"), tbox, i, date, browser_config['branch'], browser_config['buildid'], "discrete"))
i += 1 i += 1