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 a681b319436d0e884336bf92623a84a1bf61fb6b..3346d7435c04ad0cb33a8c05d5ea64e1b2b59930 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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
 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
 
         Python code in webkit-perf.appspot.com uses camelCase
index 12ce50a7e357477ce38aede3a553573b5dce1136..e9056ab47dd183c28cbd0d6551e51718458a0c3e 100644 (file)
@@ -59,12 +59,12 @@ class ManifestHandler(webapp2.RequestHandler):
             }
 
             for platform_id in platform_ids:
             }
 
             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:
                 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
 
                 branch_id_map[branch_id]['tests'].append(test.id)
                 branch_id_map[branch_id]['platforms'] += platform_ids
 
index 5deb9b858f4b6c8561b38a058362d4303c03b0df..39e1fa72bab33ddaa5373b1a74e182b8ea670d18 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,
                 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):
         return db.run_in_transaction(execute)
 
     def _add_test_if_needed(self, test_name, branch, platform):