buildman: Add a flag to control the traceback
authorSimon Glass <sjg@chromium.org>
Sat, 22 Jan 2022 12:07:29 +0000 (05:07 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 9 Feb 2022 04:07:59 +0000 (23:07 -0500)
commit433fa549e138a06085fe3a9a0ac4924bb1804687
tree07b0a52d4688e94d104d848e324d9f12e1215bde
parent1d0f30e936d2fabbbaa34c3904369252d54a56cc
buildman: Add a flag to control the traceback

At present the full horror of the Python traceback is shown by default. It
is normally only useful for debugging. Turn it off by default and add a
--debug flag to enable it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/cmdline.py
tools/buildman/main.py