From d804981a377b05de287f4b9941c76d9a530570d0 Mon Sep 17 00:00:00 2001 From: Justin Mathews Date: Thu, 10 Jun 2021 11:40:16 -0400 Subject: [PATCH] alphabetical ordering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: François Freitag --- sphinx/builders/linkcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index 8d9a476f0..bc4b22042 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -465,7 +465,7 @@ class HyperlinkAvailabilityCheckWorker(Thread): # but still responding properly to GET requests. This has been observed in the # wild with at https://patft.uspto.gov/. # See https://github.com/sphinx-doc/sphinx/issues/9306 for more details. - except (HTTPError, TooManyRedirects, ConnectionError) as err: + except (ConnectionError, HTTPError, TooManyRedirects) as err: if isinstance(err, HTTPError) and err.response.status_code == 429: raise # retry with GET request if that fails, some servers