webkit-perf.appspot.com should accept test results without medians
[WebKit-https.git] / Websites / webkit-perf.appspot.com / dashboard_handler.py
index c6356c73119b33a18572cf85c3f93c2df228fd6d..9778fbefda9d0f26425370a95e5df7d6088cf7e4 100644 (file)
@@ -41,18 +41,17 @@ from models import Test
 class DashboardHandler(webapp2.RequestHandler):
     def get(self):
         self.response.headers['Content-Type'] = 'application/json; charset=utf-8';
-
         cache = memcache.get('dashboard')
         if cache:
             self.response.out.write(cache)
             return
 
-        webkitTrunk = Branch.get_by_key_name('webkit-trunk')
+        webkit_trunk = Branch.get_by_key_name('webkit-trunk')
 
         # FIXME: Determine popular branches, platforms, and tests
         dashboard = {
             'defaultBranch': 'WebKit trunk',
-            'branchToId': {webkitTrunk.name: webkitTrunk.id},
+            'branchToId': {webkit_trunk.name: webkit_trunk.id},
             'platformToId': {},
             'testToId': {},
         }