Build fix after r106321.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 06:20:52 +0000 (06:20 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 06:20:52 +0000 (06:20 +0000)
* Websites/webkit-perf.appspot.com/report_handler.py:
* Websites/webkit-perf.appspot.com/manifest_handler.py:
(ManifestHandler.get):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106334 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Websites/webkit-perf.appspot.com/manifest_handler.py
Websites/webkit-perf.appspot.com/report_handler.py

index a681b31..3346d74 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Build fix after r106321.
+
+        * Websites/webkit-perf.appspot.com/report_handler.py:
+        * Websites/webkit-perf.appspot.com/manifest_handler.py:
+        (ManifestHandler.get):
+
+2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
+
         Python code in webkit-perf.appspot.com uses camelCase
         https://bugs.webkit.org/show_bug.cgi?id=77392
 
index 12ce50a..e9056ab 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
 
index 5deb9b8..39e1fa7 100644 (file)
@@ -165,7 +165,7 @@ class ReportHandler(webapp2.RequestHandler):
                 return self._output('The build at %s already exists for %s' % (str(timestamp), builder.name))
 
             return Build(branch=branch, platform=platform, builder=builder, buildNumber=build_number,
-                timestamp=timestamp, revision=revision, keyName=key_name).put()
+                timestamp=timestamp, revision=revision, key_name=key_name).put()
         return db.run_in_transaction(execute)
 
     def _add_test_if_needed(self, test_name, branch, platform):