From 520ea457e89c4074ea3b43f8631a677beca262e9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 25 Feb 2019 09:34:22 +0000 Subject: [PATCH] send-qa-email: Fix typo causing wrong report contents to be written Signed-off-by: Richard Purdie --- scripts/send-qa-email | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/send-qa-email b/scripts/send-qa-email index 1141794..a769bbc 100755 --- a/scripts/send-qa-email +++ b/scripts/send-qa-email @@ -66,7 +66,7 @@ if 'poky' in repos and os.path.exists(resulttool) and args.results_dir: regreport = subprocess.check_output([resulttool, "regression-git", tempdir] + extraopts.split()) with open(args.results_dir + "/testresult-regressions-report.txt", "wb") as f: - f.write(report) + f.write(regreport) finally: subprocess.check_call(["rm", "-rf", tempdir])