[Patchew-devel] [PATCH] patchew-tester: flush stdout after retrieving the patch
Paolo Bonzini
pbonzini at redhat.com
Thu Jan 24 07:28:03 UTC 2019
This shows in the logs what is failing.
Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
---
patchew-cli | 1 +
1 file changed, 1 insertion(+)
diff --git a/patchew-cli b/patchew-cli
index 0d89528..430dbe3 100755
--- a/patchew-cli
+++ b/patchew-cli
@@ -510,6 +510,7 @@ class TesterCommand(SubCommand):
print(" Workdir:", wd)
print(" Project:", r["project"])
print(" Identity:", str(r["identity"]))
+ sys.stdout.flush()
logf = open(os.path.join(wd, "log"), "w+", encoding="utf-8",
newline='', errors="ignore")
test_cmd = r["test"]["script"]
--
2.20.1
More information about the Patchew-devel
mailing list