commit | 60eb2371363c4907d884b1378081d4adf0e1d50f | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Mon Sep 21 21:10:28 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 21 21:10:28 2020 |
tree | 3ad7815aea9a65883ed9f59752b33521017ad684 | |
parent | 34149d667136eadd25f9d78c999c00655ccb2f05 [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: I419acfa0e47f5f24314c95b19531aaf643bb72df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2421303 Auto-Submit: Garrett Beaty <gbeaty@chromium.org> Reviewed-by: Stephen Martinis <martiniss@chromium.org> Commit-Queue: Stephen Martinis <martiniss@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.