Index: tools/gn/bin/roll_gn.py |
diff --git a/tools/gn/bin/roll_gn.py b/tools/gn/bin/roll_gn.py |
index f02ba8b67aac138d6d75c898b776cf5680b1a693..a479bdcf49126ad5d9dae6b9cfd3e87bde86ed79 100644 |
--- a/tools/gn/bin/roll_gn.py |
+++ b/tools/gn/bin/roll_gn.py |
@@ -206,12 +206,11 @@ class GNRoller(object): |
patchset = int(props['patchsets'][-1]) |
try: |
- patchset_data = json.loads(rpc_server.Send('/api/%d/%d' % |
- (issue, patchset))) |
+ try_job_results = json.loads(rpc_server.Send( |
+ '/api/%d/%d/try_job_results' % (issue, patchset))) |
except Exception as _e: |
raise |
- try_job_results = patchset_data['try_job_results'] |
if not try_job_results: |
print('No try jobs found on most recent patchset') |
return {} |
@@ -375,7 +374,7 @@ class GNRoller(object): |
gn_changes = self.GetGNChanges() |
return ( |
- 'Roll DEPS %s..%s\n' |
+ 'Roll buildtools %s..%s\n' |
'\n' |
' In order to roll GN %s..%s (r%s:r%s) and pick up\n' |
' the following changes:\n' |