commit | 56d24cecc9072d8ad03afdfd82a0664d7f41fb48 | [log] [tgz] |
---|---|---|
author | Garrett Beaty <gbeaty@chromium.org> | Tue Sep 22 21:36:00 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 22 21:36:00 2020 |
tree | e8ed8203c19adcf4cee465a1fb9ba6365584078b | |
parent | 44c83b881ad0131a5cf161cb31dc14109a325f5b [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: I07a7a079d8c9b0266d3a300ff886ca055f4475e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2422120 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.