From 377641d0ba6e5133d9611033f3fe4fe67d54ecd5 Mon Sep 17 00:00:00 2001 From: Andres Quan Date: Tue, 31 Oct 2023 15:13:01 -0600 Subject: [PATCH] Fix pylama issues --- beeflow/wf_manager/resources/wf_update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/beeflow/wf_manager/resources/wf_update.py b/beeflow/wf_manager/resources/wf_update.py index 3d03fc39d..67715d402 100644 --- a/beeflow/wf_manager/resources/wf_update.py +++ b/beeflow/wf_manager/resources/wf_update.py @@ -99,7 +99,6 @@ def put(self): db.workflows.add_task(new_task.id, wf_id, new_task.name, "WAITING") if new_task is None: log.info('No more restarts') - state = wfi.get_task_state(task) return make_response(jsonify(status=f'Task {task_id} set to {job_state}')) # Submit the restart task tasks = [new_task]