From 0113940c85d64e02b9eb627737708b58f2816c66 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 28 Nov 2018 14:59:49 +0000 Subject: [PATCH] fw/execution: Fix status being assigned as strings --- wa/framework/execution.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/framework/execution.py b/wa/framework/execution.py index ebcb6860..ac386ba9 100644 --- a/wa/framework/execution.py +++ b/wa/framework/execution.py @@ -376,12 +376,12 @@ class Executor(object): try: self.do_execute(context) except KeyboardInterrupt as e: - context.run_output.status = 'ABORTED' + context.run_output.status = Status.ABORTED log.log_error(e, self.logger) context.write_output() raise except Exception as e: - context.run_output.status = 'FAILED' + context.run_output.status = Status.FAILED log.log_error(e, self.logger) context.write_output() raise