commit | e3b456961d4e591f53188cce1e29effbfa917db2 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Sep 22 07:13:59 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 22 07:13:59 2020 |
tree | c04382b201d06bd791ee0ceaeb445059d4d6f0b0 | |
parent | 3901046a7b4a28f802c1c1d0d9b5b9d0b4d3dfb4 [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: I36e0d571777a04e7b46ed03ab6a8a893c7dc6f1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422122 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Liviu Rau <liviurau@chromium.org> Commit-Queue: Liviu Rau <liviurau@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.