commit | 6600638af008e85427808e8237fdcedc97c2d44e | [log] [tgz] |
---|---|---|
author | Bob Haarman <inglorion@chromium.org> | Thu Feb 01 19:24:17 2024 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 01 22:50:30 2024 +0000 |
tree | 75be12e2f1cdf6f0c674ca235ff42814b9acb439 | |
parent | ee70ef2a95232eb60b7fb2c1732af5040fe92160 [diff] |
auto_update_rust_bootstrap: fix whitespace in commit message auto_update_rust_bootstrap.py writes commit messages using f-strings and textwrap.dedent. However, dedent only removes whitespace from the beginning of lines, and the code used line continuations that cause repeated whitespace inside of lines. This change moves things around a bit so that messages are formatted as expected. BUG=None TEST=Ran the script, checked the resulting commit message. Change-Id: Ia9ba93b64bcb214d17e90e96567349c3bd7fdeb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5259243 Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Bob Haarman <inglorion@chromium.org> Tested-by: Bob Haarman <inglorion@chromium.org>
toolchain-utils
Various utilities used by the ChromeOS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.