commit | b96a6debcfac177708bea2b163089a1fc52bbbe0 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Sep 22 16:43:40 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 22 16:43:40 2020 |
tree | 06577f667be5999296fdadc91cf77977b7c1e52c | |
parent | 5fad90b438fcba10196150286a54d0ac3aaaeb67 [diff] |
Remove use of deprecated properties methods. api.properties.{generic,scheduled,tryserver} set properties as they were set by buildbot and the backwards-compatibility layer relies on the mastername property which is being removed to make the code more inclusive. Bug: 1109276 Change-Id: I3c8dc274a0596915fdbc89f2ab01e8c98d6c5ac8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422121 Commit-Queue: Garrett Beaty <gbeaty@chromium.org> Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Derek Schuff <dschuff@chromium.org>
If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*
), please take a look at the README for more information pertaining to recipes.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores
, with the exception of the special functions RunSteps
and RunTests
in recipes. Use yapf (git cl format --no-clang-format
) to autoformat new code.