commit | 44c83b881ad0131a5cf161cb31dc14109a325f5b | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Sep 22 20:52:30 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 22 20:52:30 2020 |
tree | 1b6776ab3cf3fc50abd2f70127dd782496cd46b2 | |
parent | 8e0dd8a918a56195b84635f6673d7c1079f3cd97 [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: I8680fff6c256af19ec5f504800f81e27cf51c8ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2421299 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.