From: rniwa@webkit.org Date: Tue, 31 Jan 2012 06:20:52 +0000 (+0000) Subject: Build fix after r106321. X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=38152c5dbd5be285abc38d4aba3109728f563b51 Build fix after r106321. * 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 --- diff --git a/ChangeLog b/ChangeLog index a681b319436d..3346d7435c04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-01-30 Ryosuke Niwa + + 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 Python code in webkit-perf.appspot.com uses camelCase diff --git a/Websites/webkit-perf.appspot.com/manifest_handler.py b/Websites/webkit-perf.appspot.com/manifest_handler.py index 12ce50a7e357..e9056ab47dd1 100644 --- a/Websites/webkit-perf.appspot.com/manifest_handler.py +++ b/Websites/webkit-perf.appspot.com/manifest_handler.py @@ -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 diff --git a/Websites/webkit-perf.appspot.com/report_handler.py b/Websites/webkit-perf.appspot.com/report_handler.py index 5deb9b858f4b..39e1fa72bab3 100644 --- a/Websites/webkit-perf.appspot.com/report_handler.py +++ b/Websites/webkit-perf.appspot.com/report_handler.py @@ -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):