diff --git a/ecosystem/utils/submission_parser.py b/ecosystem/utils/submission_parser.py index 36d171f209..26c44d50b9 100644 --- a/ecosystem/utils/submission_parser.py +++ b/ecosystem/utils/submission_parser.py @@ -45,6 +45,8 @@ def parse_submission_issue(body_of_issue: str) -> Repository: website = None labels = [l.strip() for l in sections["Tags"].split(",")] + if labels == ["_No response_"]: + labels = [] return Repository( name=name, diff --git a/tests/test_manager.py b/tests/test_manager.py index a98f625d37..b62ffc83f7 100644 --- a/tests/test_manager.py +++ b/tests/test_manager.py @@ -142,7 +142,7 @@ def test_parser_issue(self): self.assertEqual(output_value[6], "SUBMISSION_AFFILIATIONS=Awesome Inc.") self.assertEqual( output_value[7], - "SUBMISSION_LABELS=['_No response_']", + "SUBMISSION_LABELS=[]", ) self.assertEqual( output_value[8],