| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Top-level presubmit script for Dart. | 5 """Top-level presubmit script for Dart. |
| 6 | 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 8 for more details about the presubmit API built into gcl. | 8 for more details about the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 def CheckChangeOnCommit(input_api, output_api): | 11 def CheckChangeOnCommit(input_api, output_api): |
| 12 results = [] | 12 results = [] |
| 13 status_check = input_api.canned_checks.CheckTreeIsOpen( | 13 status_check = input_api.canned_checks.CheckTreeIsOpen( |
| 14 input_api, | 14 input_api, |
| 15 output_api, | 15 output_api, |
| 16 json_url='http://dart-status.appspot.com/current?format=json') | 16 json_url='http://dart-status.appspot.com/current?format=json') |
| 17 results.extend(status_check) | 17 # TODO(ricow): reenable when status page is back in shape |
| 18 # results.extend(status_check) |
| 19 results.extend(True) |
| 18 return results | 20 return results |
| OLD | NEW |