webkit-perf.appspot.com should accept test results without medians
[WebKit-https.git] / Websites / webkit-perf.appspot.com / manifest_handler.py
index 12ce50a7e357477ce38aede3a553573b5dce1136..e9056ab47dd183c28cbd0d6551e51718458a0c3e 100644 (file)
@@ -59,12 +59,12 @@ class ManifestHandler(webapp2.RequestHandler):
             }
 
             for platform_id in platform_ids:
-                platform_id_map.setdefault(platformId, {'tests': [], 'branches': []})
+                platform_id_map.setdefault(platform_id, {'tests': [], 'branches': []})
                 platform_id_map[platform_id]['tests'].append(test.id)
                 platform_id_map[platform_id]['branches'] += branch_ids
 
             for branch_id in branch_ids:
-                branch_id_map.setdefault(branchId, {'tests': [], 'platforms': []})
+                branch_id_map.setdefault(branch_id, {'tests': [], 'platforms': []})
                 branch_id_map[branch_id]['tests'].append(test.id)
                 branch_id_map[branch_id]['platforms'] += platform_ids