commit | 368070ecf3ec45f007f979b4feab877e2b61c952 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Sep 22 18:34:50 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 22 18:34:50 2020 |
tree | 3baf9d29bc9e77c35e9f9535e6c721c1e13af9b8 | |
parent | b96a6debcfac177708bea2b163089a1fc52bbbe0 [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: Id26e81d8fd4981c41306774e3bd15aec17c9bda5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422124 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Jeff Yoon <jeffyoon@chromium.org> Commit-Queue: Garrett Beaty <gbeaty@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.