Skip to content
Snippets Groups Projects
Commit abb78199 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Flush after printing

parent a2c2f758
No related branches found
No related tags found
1 merge request!1142Allow for call to sacct failing in finalize jobs
......@@ -136,9 +136,9 @@ def get_job_info(jobs: List[str], fmt: List[str]) -> List[List[str]]:
if res.returncode == 0:
lines = res.stdout.split("\n")
else:
print(f"Call to sacct failed (exit status {res.returncode}")
print(f"Call to sacct failed (exit status {res.returncode})", flush=True)
if res.stdout:
print(res.stdout)
print(res.stdout, flush=True)
lines = []
missing_info = ["not-found"] * len(fmt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment