From 1b6a847fed9f50d09441896703d2777d7e339915 Mon Sep 17 00:00:00 2001 From: Remco Tukker <remco.tukker@geant.org> Date: Fri, 22 Sep 2023 15:49:38 +0200 Subject: [PATCH] fix small mistake found in test --- compendium_v2/publishers/survey_publisher_old_db_2022.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compendium_v2/publishers/survey_publisher_old_db_2022.py b/compendium_v2/publishers/survey_publisher_old_db_2022.py index c8a59559..5c72d1c5 100644 --- a/compendium_v2/publishers/survey_publisher_old_db_2022.py +++ b/compendium_v2/publishers/survey_publisher_old_db_2022.py @@ -702,6 +702,8 @@ def transfer_security_controls(nren_dict): other_entry = ", ".join(other_entries) if other_entry: full_list.append(other_entry) + if "Other" in full_list: + full_list.remove("Other") if full_list: new_entry = presentation_models.SecurityControls( nren=nren_dict[nren_name], -- GitLab