commit | 34149d667136eadd25f9d78c999c00655ccb2f05 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Mon Sep 21 19:04:18 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 21 19:04:18 2020 |
tree | 381ecd350f162f48409dd11c9e56bbd78d73fe29 | |
parent | 80320b11d2908fb5104ebe705a36a41e0e6664ae [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: Idf54474aab7b36abe71778aafb8dcba6fae93b1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422123 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@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.