From d0dd6c1e04fe3111293c531962834df77ef0d421 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 22 Jun 2018 16:57:14 +0100 Subject: [PATCH] fw/exec: context: add write_job_specs Add a method to encapsulate the writing of ConfigManager's job specs into run_output. --- wa/framework/execution.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wa/framework/execution.py b/wa/framework/execution.py index 6f57ae49..13d3359d 100644 --- a/wa/framework/execution.py +++ b/wa/framework/execution.py @@ -188,6 +188,9 @@ class ExecutionContext(object): self.run_output.write_state() self.run_output.write_result() + def write_job_specs(self): + self.run_output.write_job_specs(self.cm.job_specs) + def get_resource(self, resource, strict=True): result = self.resolver.get(resource, strict) if result is None: