From 1892802c22eb1185a4c986362a38972afe672d76 Mon Sep 17 00:00:00 2001 From: AA Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 24 Sep 2021 22:59:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Move=20to=20GitHub=20issue=20#12?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compass/core/_scrapers/member_profile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/compass/core/_scrapers/member_profile.py b/compass/core/_scrapers/member_profile.py index c40fad9d..e94aac38 100644 --- a/compass/core/_scrapers/member_profile.py +++ b/compass/core/_scrapers/member_profile.py @@ -600,7 +600,6 @@ def _process_role_data(role: html.HtmlElement) -> tuple[int, dict[str, Union[Non role_data["role_title"] = child_nodes[0].text_content() role_data["role_start"] = parse_date(child_nodes[1].text_content()) status_with_review = child_nodes[2].text_content() - # TODO for `Ending: blah` roles, should we store the ending date? if status_with_review.startswith("Full (Review Due: ") or status_with_review.startswith("Full (Ending: "): role_data["role_status"] = "Full" date_str = status_with_review.removeprefix("Full (Review Due: ").removeprefix("Full (Ending: ").rstrip(")")