Skip to content

Commit

Permalink
Fixup: assignment, not typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Oct 19, 2024
1 parent 139775a commit f35a605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/builders/linkcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def __init__(
self._allow_unauthorized = config.linkcheck_allow_unauthorized
self._timeout_status: Literal[LinkStatus.BROKEN, LinkStatus.TIMEOUT]
if config.linkcheck_report_timeouts_as_broken:
self._timeout_status: LinkStatus.BROKEN
self._timeout_status = LinkStatus.BROKEN
else:
self._timeout_status = LinkStatus.TIMEOUT

Expand Down

0 comments on commit f35a605

Please sign in to comment.