Chromium Code Reviews| Index: scripts/master/try_job_base.py |
| diff --git a/scripts/master/try_job_base.py b/scripts/master/try_job_base.py |
| index 38af40d988f47003d0892163eb72672653e269e9..9f289383d031f9ecfaa7f4c595ab7fb92986ed69 100644 |
| --- a/scripts/master/try_job_base.py |
| +++ b/scripts/master/try_job_base.py |
| @@ -261,7 +261,15 @@ class TryJobBase(TryBase): |
| def get_lkgr(self, options): |
| """Grabs last known good revision number if necessary.""" |
| options['rietveld'] = (self.code_review_sites or {}).get(options['project']) |
| - last_good_url = (self.last_good_urls or {}).get(options['project']) |
| + |
| + # TODO: crbug.com/233148 - Only use the blink url for jobs with the blink |
|
iannucci
2013/04/19 00:36:20
wrong bug!
|
| + # project set. This will require us to always set the project in blink |
| + # configs. |
| + project = options['project'] |
| + if project == 'chrome' and all('_layout_' in bot for bot in options['bot']): |
| + project = 'blink' |
| + last_good_url = (self.last_good_urls or {}).get(project) |
| + |
| if options['revision'] or not last_good_url: |
| return defer.succeed(0) |