| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 | 5 |
| 6 # Represent status of the analysis of a Chromium waterfall build failure. | 6 # Represent status of the analysis of a Chromium waterfall build failure. |
| 7 PENDING = 0 | 7 PENDING = 0 |
| 8 ANALYZING = 10 | 8 ANALYZING = 10 |
| 9 ANALYZED = 70 | 9 ANALYZED = 70 |
| 10 ERROR = 80 | 10 ERROR = 80 |
| 11 | 11 |
| 12 | 12 |
| 13 | |
| 14 STATUS_TO_DESCRIPTION = { | 13 STATUS_TO_DESCRIPTION = { |
| 15 PENDING: 'Pending', | 14 PENDING: 'Pending', |
| 16 ANALYZING: 'Analyzing', | 15 ANALYZING: 'Analyzing', |
| 17 ANALYZED: 'Analyzed', | 16 ANALYZED: 'Analyzed', |
| 18 ERROR: 'Error' | 17 ERROR: 'Error' |
| 19 } | 18 } |
| 19 |
| 20 |
| 21 TRY_JOB_STATUS_TO_DESCRIPTION = { |
| 22 PENDING: 'Pending', |
| 23 ANALYZING: 'Running', |
| 24 ANALYZED: 'Completed', |
| 25 ERROR: 'Error' |
| 26 } |
| OLD | NEW |