From 45b8aeea81c8c52957bfdf9cb7d2f8022b2328a4 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Thu, 10 Nov 2022 10:19:45 +0100 Subject: [PATCH] remove duplicative handling of status Unknown and Lapse are aliased in steps before --- .../obtain_livestream_data_and_load_into_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/planning_data/obtain_livestream_data_and_load_into_database.py b/etl/planning_data/obtain_livestream_data_and_load_into_database.py index 3974835c..19acb1ae 100644 --- a/etl/planning_data/obtain_livestream_data_and_load_into_database.py +++ b/etl/planning_data/obtain_livestream_data_and_load_into_database.py @@ -282,7 +282,7 @@ def process_status(status, decision_date): if (status in ["Submitted", "Approved", "Rejected", "Appeal In Progress", "Withdrawn", "Unknown"]): return status print("Unexpected status " + status) - if status not in ["No Objection to Proposal (OBS only)", "Objection Raised to Proposal (OBS only)", "Not Required", "Unknown", "Lapsed", "SECS", "Comment Issued", "ALL DECISIONS ISSUED", "Closed", "Declined to Determine"]: + if status not in ["No Objection to Proposal (OBS only)", "Objection Raised to Proposal (OBS only)", "Not Required", "SECS", "Comment Issued", "ALL DECISIONS ISSUED", "Closed", "Declined to Determine"]: print("New unexpected status " + status) return status