| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 | 6 |
| 7 """Run the Blink AutoRoll bot for Skia.""" | 7 """Run the Blink AutoRoll bot for Skia.""" |
| 8 | 8 |
| 9 | 9 |
| 10 import os | 10 import os |
| 11 import re | 11 import re |
| 12 import sys | 12 import sys |
| 13 | 13 |
| 14 from build_step import BuildStep | 14 from build_step import BuildStep |
| 15 from slave import slave_utils | 15 from slave import slave_utils |
| 16 from utils import misc | 16 from py.utils import misc |
| 17 from utils import shell_utils | 17 from py.utils import shell_utils |
| 18 | 18 |
| 19 sys.path.append(misc.BUILDBOT_PATH) | 19 sys.path.append(misc.BUILDBOT_PATH) |
| 20 | 20 |
| 21 from site_config import skia_vars | 21 from site_config import skia_vars |
| 22 | 22 |
| 23 | 23 |
| 24 DEPS_ROLL_AUTHOR = 'skia-deps-roller@chromium.org' | 24 DEPS_ROLL_AUTHOR = 'skia-deps-roller@chromium.org' |
| 25 DEPS_ROLL_NAME = 'Skia DEPS Roller' | 25 DEPS_ROLL_NAME = 'Skia DEPS Roller' |
| 26 HTML_CONTENT = ''' | 26 HTML_CONTENT = ''' |
| 27 <html> | 27 <html> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 subdir=None, | 110 subdir=None, |
| 111 gs_acl='public-read') | 111 gs_acl='public-read') |
| 112 | 112 |
| 113 #pylint: disable=E0702 | 113 #pylint: disable=E0702 |
| 114 if exception: | 114 if exception: |
| 115 raise exception | 115 raise exception |
| 116 | 116 |
| 117 | 117 |
| 118 if '__main__' == __name__: | 118 if '__main__' == __name__: |
| 119 sys.exit(BuildStep.RunBuildStep(AutoRoll)) | 119 sys.exit(BuildStep.RunBuildStep(AutoRoll)) |
| OLD | NEW |