mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove deprecated code in `sphinx.builders.linkcheck` (#11089)
Co-authored-by: daniel.eades <daniel.eades@hotmail.com>
This commit is contained in:
@@ -422,15 +422,11 @@ class HyperlinkAvailabilityCheckWorker(Thread):
|
||||
|
||||
while True:
|
||||
check_request = self.wqueue.get()
|
||||
try:
|
||||
next_check, hyperlink = check_request
|
||||
if hyperlink is None:
|
||||
break
|
||||
next_check, hyperlink = check_request
|
||||
if hyperlink is None:
|
||||
break
|
||||
|
||||
uri, docname, lineno = hyperlink
|
||||
except ValueError:
|
||||
# old styled check_request (will be deprecated in Sphinx-5.0)
|
||||
next_check, uri, docname, lineno = check_request # type: ignore[misc]
|
||||
uri, docname, lineno = hyperlink
|
||||
|
||||
if uri is None:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user