diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-25 18:59:00 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-09-18 21:04:38 -0600 |
commit | 785f1548a9e74cf4796c96e6f32ed67b25f79b81 (patch) | |
tree | 33e5bf6ef78a66caf34372759283f3affb6a0f86 /tools/buildman | |
parent | 49afb37988a397ce215e99563e0ab5d2970c6a39 (diff) | |
download | u-boot-imx-785f1548a9e74cf4796c96e6f32ed67b25f79b81.zip u-boot-imx-785f1548a9e74cf4796c96e6f32ed67b25f79b81.tar.gz u-boot-imx-785f1548a9e74cf4796c96e6f32ed67b25f79b81.tar.bz2 |
patman: Adjust command.Output() to raise an error by default
It is more useful to have this method raise an error when something goes
wrong. Make this the default and adjust the few callers that don't want to
use it this way.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rw-r--r-- | tools/buildman/control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py index b86d7b3..0b6ab03 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -237,7 +237,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None, options.step = len(series.commits) - 1 gnu_make = command.Output(os.path.join(options.git, - 'scripts/show-gnu-make')).rstrip() + 'scripts/show-gnu-make'), raise_on_error=False).rstrip() if not gnu_make: sys.exit('GNU Make not found') |