Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: dashboard/dashboard/pinpoint/handlers/new.py

Issue 3013013002: [pinpoint] Change refactor. (Closed)
Patch Set: UI Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dashboard/dashboard/pinpoint/handlers/new.py
diff --git a/dashboard/dashboard/pinpoint/handlers/new.py b/dashboard/dashboard/pinpoint/handlers/new.py
index 449bf6528e30e753ee613d63ffca53a7f548039e..eb1ec46d2bbad06f3e451ac6cb07de58d5bdda4c 100644
--- a/dashboard/dashboard/pinpoint/handlers/new.py
+++ b/dashboard/dashboard/pinpoint/handlers/new.py
@@ -34,17 +34,17 @@ class New(webapp2.RequestHandler):
bug_id = self.request.get('bug_id')
change_1 = {
- 'base_commit': {
+ 'commits': [{
'repository': self.request.get('start_repository'),
'git_hash': self.request.get('start_git_hash')
- }
+ }]
}
change_2 = {
- 'base_commit': {
+ 'commits': [{
'repository': self.request.get('end_repository'),
'git_hash': self.request.get('end_git_hash')
- }
+ }]
}
# Validate arguments and convert them to canonical internal representation.

Powered by Google App Engine
This is Rietveld 408576698