From 249c49ed3c3a24268600baa0fbd9680bde6de475 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 3 May 2010 18:35:32 +1000 Subject: [PATCH] dashboard: fix benchmark json output Fixes #722. R=rsc CC=golang-dev https://golang.org/cl/1065041 --- misc/dashboard/godashboard/gobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/dashboard/godashboard/gobuild.py b/misc/dashboard/godashboard/gobuild.py index 4a5b858c30b..aac90b3267a 100644 --- a/misc/dashboard/godashboard/gobuild.py +++ b/misc/dashboard/godashboard/gobuild.py @@ -575,7 +575,7 @@ class GetBenchmarks(webapp.RequestHandler): sep = "\n\t" for builder, iter, ns in bybuilder: self.response.out.write('%s{ "builder": "%s", "iterations": %s, "nsperop": %s }' % - (sep, builder, str(iter).replace("L", ""), str(nsperop).replace("L", ""))) + (sep, builder, str(iter).replace("L", ""), str(ns).replace("L", ""))) sep = ",\n\t" self.response.out.write('\n}\n') return