From b1b379982c730bc5315159b3c5f1356513a8bfce Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Mon, 12 Feb 2018 15:04:56 +0000 Subject: [PATCH] framework/output: fix job status After loading (or attempting to load) job output, update the status from the state, as that will be more accurate. --- wa/framework/output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wa/framework/output.py b/wa/framework/output.py index 4f5c5648..da1bdab4 100644 --- a/wa/framework/output.py +++ b/wa/framework/output.py @@ -173,6 +173,7 @@ class RunOutput(Output): job = JobOutput(job_path, job_state.id, job_state.label, job_state.iteration, job_state.retries) + job.status = job_state.status self.jobs.append(job) def write_info(self):