commit | b7cc8cd6bc3b0c9652b817e976cc4f58c96bd34d | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Sat May 02 17:48:41 2020 -0700 |
committer | George Burgess <gbiv@chromium.org> | Mon May 04 21:11:34 2020 +0000 |
tree | 5a608f83a2cb9d52185c85f8927d8cf0cf6ccd5a | |
parent | 663dcce7c7b32946bc57e46bae1f1b7370e4fbb2 [diff] |
cros_utils: fix a bad format string `'%s' + 'bar' % baz` == `'%s' + ('bar' % baz)`, which raises an exception. OTOH, `'%s' 'bar' % baz` == `('%s' 'bar') % baz`, so do that instead. BUG=None TEST=Unittests Change-Id: I83313e8fcb34d4ca923f3730133eec528ea6f9eb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2177144 Tested-by: George Burgess <gbiv@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com>
toolchain-utils
Various utilities used by the Chrome OS 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.