From ded4ba5c71dad78d2a9a1fa4a89f7492e2536f43 Mon Sep 17 00:00:00 2001 From: Jesse Bickel Date: Wed, 24 Jul 2024 10:13:26 -0500 Subject: [PATCH] Clean up from cherry-pick/rebase Removed a redeclared variable and reformatted. Issue #3296 --- hypha/apply/funds/workflow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hypha/apply/funds/workflow.py b/hypha/apply/funds/workflow.py index f5525bbf05..4a5298c211 100644 --- a/hypha/apply/funds/workflow.py +++ b/hypha/apply/funds/workflow.py @@ -1212,7 +1212,10 @@ def get_stage_change_actions(): active_statuses = [ status for status, _ in PHASES - if "accepted" not in status and "rejected" not in status and "invited" not in status and "withdrawn" not in status + if "accepted" not in status + and "rejected" not in status + and "invited" not in status + and "withdrawn" not in status ] @@ -1294,7 +1297,6 @@ def get_withdrawn_statuses(): return withdrawn_statuses -ext_or_higher_statuses = get_ext_or_higher_statuses() review_statuses = get_review_statuses() ext_review_statuses = get_ext_review_statuses() ext_or_higher_statuses = get_ext_or_higher_statuses()