| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env python | |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 """ Check out the Skia buildbot scripts. """ | |
| 7 | |
| 8 | |
| 9 from build_step import BuildStep | |
| 10 from utils import force_update_checkout | |
| 11 import sys | |
| 12 | |
| 13 | |
| 14 class UpdateScripts(BuildStep): | |
| 15 def __init__(self, attempts=5, **kwargs): | |
| 16 super(UpdateScripts, self).__init__(attempts=attempts, **kwargs) | |
| 17 | |
| 18 def _Run(self): | |
| 19 force_update_checkout.force_update() | |
| 20 | |
| 21 | |
| 22 if '__main__' == __name__: | |
| 23 sys.exit(BuildStep.RunBuildStep(UpdateScripts)) | |
| OLD | NEW |