Skip to content

Commit 700d719

Browse files
authored
Fix KeyError for unlisted assignees in update_schedule.py (#241)
* Initial plan * Fix KeyError for unknown assignee logins in update_schedule.py - Fixes PYTHON-2 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent b0867bc commit 700d719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/update_schedule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def build_row(issue: dict) -> dict | None:
165165
assignees = issue.get("assignees") or []
166166
if assignees:
167167
host = ", ".join(
168-
HOST_NAMES[a["login"]] for a in assignees
168+
HOST_NAMES.get(a["login"], a["login"]) for a in assignees
169169
)
170170
else:
171171
host = "TBD"

0 commit comments

Comments
 (0)