summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-05-03 18:35:32 +1000
committerAndrew Gerrand <adg@golang.org>2010-05-03 18:35:32 +1000
commit033fd9bff8d1cab5b7a6e7c9cebdf4caa7950b0e (patch)
tree7b752564e4e9b3b38ed1e510a7dddf72dac46a03
parent4b22469e3a29ecd5586d35db9f67eeaf11d1ae3e (diff)
downloadgolang-033fd9bff8d1cab5b7a6e7c9cebdf4caa7950b0e.tar.gz
dashboard: fix benchmark json output
Fixes issue 722. R=rsc CC=golang-dev http://codereview.appspot.com/1065041
-rw-r--r--misc/dashboard/godashboard/gobuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dashboard/godashboard/gobuild.py b/misc/dashboard/godashboard/gobuild.py
index 4a5b858c3..aac90b326 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