Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Determines support level for different steps for masters.""" | 5 """Determines support level for different steps for masters.""" |
| 6 | 6 |
| 7 from model.wf_config import FinditConfig | 7 from model.wf_config import FinditConfig |
| 8 | 8 |
| 9 # Explicitly list unsupported masters. Additional work might be needed in order | 9 # Explicitly list unsupported masters. Additional work might be needed in order |
| 10 # to support them. | 10 # to support them. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 wf_mastername, {}).get(wf_buildername, {}) | 154 wf_mastername, {}).get(wf_buildername, {}) |
| 155 return trybot_config.get('not_run_tests', False) | 155 return trybot_config.get('not_run_tests', False) |
| 156 | 156 |
| 157 | 157 |
| 158 def GetTryJobSettings(): | 158 def GetTryJobSettings(): |
| 159 return FinditConfig().Get().try_job_settings | 159 return FinditConfig().Get().try_job_settings |
| 160 | 160 |
| 161 | 161 |
| 162 def GetSwarmingSettings(): | 162 def GetSwarmingSettings(): |
| 163 return FinditConfig().Get().swarming_settings | 163 return FinditConfig().Get().swarming_settings |
| 164 | |
| 165 | |
| 166 def GetDownloadBuildDataSettings(): | |
| 167 return FinditConfig().Get().download_build_data_settings | |
| 168 | |
|
chanli
2016/05/20 23:53:54
nit: empty line
| |
| OLD | NEW |