summaryrefslogtreecommitdiff
path: root/tools/patman/tout.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-09 18:39:40 -0600
committerSimon Glass <sjg@chromium.org>2020-07-25 14:46:57 -0600
commitb1cca9552c6c930d094806a64b2096411783d13f (patch)
treec4389d3fe703f83e8f951b63be919bb802bc8e67 /tools/patman/tout.py
parent38fdb4cb35e9260a6aa78ffcfa68d39bfc3523de (diff)
binman: Detect when valid images are not produced
When external blobs are missing, show a message indicating that the images are not functional. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/tout.py')
-rw-r--r--tools/patman/tout.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patman/tout.py b/tools/patman/tout.py
index 91a53f4073..33305263d8 100644
--- a/tools/patman/tout.py
+++ b/tools/patman/tout.py
@@ -171,6 +171,7 @@ def Init(_verbose=WARNING, stdout=sys.stdout):
# TODO(sjg): Move this into Chromite libraries when we have them
stdout_is_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
+ stderr_is_tty = hasattr(sys.stderr, 'isatty') and sys.stderr.isatty()
def Uninit():
ClearProgress()