summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-30 15:07:30 +0100
committerGitHub <noreply@github.com>2023-10-30 15:07:30 +0100
commit060a1ff2f3261f94e3137e43ac8c50534983b63b (patch)
tree226bbef395f313139d2aa1bf029f68ca5604f5f8 /lib
parent9ed9a541c9d7be3729339f810c50496ff6ceb63a (diff)
downloadspack-060a1ff2f3261f94e3137e43ac8c50534983b63b.tar.gz
spack-060a1ff2f3261f94e3137e43ac8c50534983b63b.tar.bz2
spack-060a1ff2f3261f94e3137e43ac8c50534983b63b.tar.xz
spack-060a1ff2f3261f94e3137e43ac8c50534983b63b.zip
tty: flush immediately (#40774)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/llnl/util/tty/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/llnl/util/tty/__init__.py b/lib/spack/llnl/util/tty/__init__.py
index b3975cc08d..ec7bd66537 100644
--- a/lib/spack/llnl/util/tty/__init__.py
+++ b/lib/spack/llnl/util/tty/__init__.py
@@ -211,6 +211,7 @@ def info(message, *args, **kwargs):
stream.write(line + "\n")
else:
stream.write(indent + _output_filter(str(arg)) + "\n")
+ stream.flush()
def verbose(message, *args, **kwargs):