Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zulip_tools: Flush ‘set -x’-style messages in run.

Anders Kaseorgd8cb4185868f
diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.py
index c2fb5c1a903..c7c2cba3e8c 100755
--- a/scripts/lib/zulip_tools.py
+++ b/scripts/lib/zulip_tools.py
@@ -222,7 +222,7 @@ def release_deployment_lock() -> None:
def run(args: Sequence[str], **kwargs: Any) -> None:
# Output what we're doing in the `set -x` style
- print("+ {}".format(" ".join(map(shlex.quote, args))))
+ print("+ {}".format(" ".join(map(shlex.quote, args))), flush=True)
try:
subprocess.check_call(args, **kwargs)