Skip to content

Commit

Permalink
Remove '_No response_' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Jul 25, 2023
1 parent 051fa51 commit 64ec337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ecosystem/utils/submission_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 64ec337

Please sign in to comment.