summaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-26 03:59:00 +0300
committerSimon Glass <sjg@chromium.org>2016-09-19 06:04:38 +0300
commit785f1548a9e74cf4796c96e6f32ed67b25f79b81 (patch)
tree33e5bf6ef78a66caf34372759283f3affb6a0f86 /tools/buildman/control.py
parent49afb37988a397ce215e99563e0ab5d2970c6a39 (diff)
downloadu-boot-785f1548a9e74cf4796c96e6f32ed67b25f79b81.tar.xz
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/control.py')
-rw-r--r--tools/buildman/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index b86d7b3c1f..0b6ab03b4c 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')