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

Unified Diff: dashboard/dashboard/pinpoint/models/change/change.py

Issue 3019553002: [pinpoint] Gerrit patch support. (Closed)
Patch Set: Example URL 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/models/change/change.py
diff --git a/dashboard/dashboard/pinpoint/models/change/change.py b/dashboard/dashboard/pinpoint/models/change/change.py
index c23dbbda7148b7db04b308048fb3c717e7f53df8..4ea19f275326c8d8b79819b7e5f9d83ea592ddac 100644
--- a/dashboard/dashboard/pinpoint/models/change/change.py
+++ b/dashboard/dashboard/pinpoint/models/change/change.py
@@ -69,7 +69,7 @@ class Change(collections.namedtuple('Change', ('commits', 'patch'))):
commits = tuple(commit_module.Commit.FromDict(commit)
for commit in data['commits'])
if 'patch' in data:
- patch = patch_module.Patch.FromDict(data['patch'])
+ patch = patch_module.FromDict(data['patch'])
else:
patch = None

Powered by Google App Engine
This is Rietveld 408576698