commit | 80320b11d2908fb5104ebe705a36a41e0e6664ae | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Mon Sep 21 15:57:38 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 21 15:57:38 2020 |
tree | 2f914b299851fe39983e2ae1ba0057d79be4a613 | |
parent | 64b3117633d1ca80174a409fe98ed02b2ad560cf [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: Ib92a7163397ddd2026fde41ca96304f4632b4d34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422125 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@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.